Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotExposure-methods

(deprecated) Plot item exposure rates


Description

(deprecated) Use plot with type = 'exposure' instead.

Usage

plotExposure(
  object,
  max_rate = 0.25,
  theta_segment = "Estimated",
  color = "blue",
  color_final = "blue",
  file_pdf = NULL,
  ...
)

## S4 method for signature 'list'
plotExposure(
  object,
  max_rate = 0.25,
  theta_segment = "estimated",
  color = "blue",
  color_final = "blue",
  file_pdf = NULL,
  ...
)

## S4 method for signature 'output_Shadow_all'
plotExposure(
  object,
  max_rate = 0.25,
  theta_segment = "estimated",
  color = "blue",
  color_final = "blue",
  file_pdf = NULL,
  ...
)

Arguments

object

an output object generated by Shadow.

max_rate

the target exposure rate.

theta_segment

the type of theta to use to create segments. Accepts "estimated" or "true". (default = "estimated")

color

Color of item-wise exposure rates.

color_final

Color of item-wise exposure rates, only counting the items while in the final theta segment as exposed.

file_pdf

If supplied a filename, save as a PDF file.

...

Additional options to be passed on to pdf().

Examples

## Not run: 
true_theta <- runif(10, min = -3.5, max = 3.5)
resp_science <- simResp(itempool_science, true_theta)
constraints_science2 <- updateConstraints(constraints_science, off = c(14:20, 32:36))
config_science <- createShadowTestConfig(
  MIP = list(solver = "lpSolve"),
  exposure_control = list(method = "ELIGIBILITY")
)
solution <- Shadow(config_science, constraints_science2, true_theta, data = resp_science)
p <- plotExposure(solution)

## End(Not run)

TestDesign

Optimal Test Design Approach to Fixed and Adaptive Test Construction

v1.2.2
GPL (>= 2)
Authors
Seung W. Choi [aut, cre] (<https://orcid.org/0000-0003-4777-5420>), Sangdon Lim [aut] (<https://orcid.org/0000-0002-2988-014X>)
Initial release
2021-01-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.