plot | R Documentation |
Extension of plot() for objects in TestDesign package
## S4 method for signature 'item_pool' plot( x, y, type = "info", theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, position = NULL, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = TRUE, theta_type = "Estimated", color_final = "blue", segment = NULL, rmse = FALSE, use_segment_label = TRUE, use_par = TRUE, ... ) ## S4 method for signature 'output_Static' plot( x, y, type = NULL, theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, position = NULL, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = TRUE, use_par = TRUE, ... ) ## S4 method for signature 'constraints' plot( x, y, type = "info", theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, position = NULL, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = TRUE, use_par = TRUE, ... ) ## S4 method for signature 'output_Shadow' plot( x, y, type = "audit", theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = FALSE, theta_type = "Estimated", use_par = TRUE, ... ) ## S4 method for signature 'output_Shadow_all' plot( x, y, type = "audit", theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, position = NULL, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = FALSE, theta_type = "Estimated", color_final = "blue", segment = NULL, rmse = FALSE, use_segment_label = TRUE, use_par = TRUE, theta_segment = NULL, ... ) ## S4 method for signature 'output_Split' plot( x, y, type = NULL, theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, examinee_id = 1, position = NULL, theta_range = c(-5, 5), ylim = NULL, color = "blue", z_ci = 1.96, simple = TRUE, use_par = TRUE, ... )
x |
accepts the following signatures:
|
y |
not used, exists for compatibility with |
type |
the type of plot.
|
theta |
the theta grid to use in plotting. (default = |
info_type |
the type of information. Currently accepts |
plot_sum |
used in
|
select |
used in |
examinee_id |
used in |
position |
used in |
theta_range |
used in |
ylim |
(optional) the y-axis plot range. Used in most plot types. |
color |
the color of the curve. |
z_ci |
used in |
simple |
used in |
theta_type |
used in |
color_final |
used in |
segment |
used in |
rmse |
used in |
use_segment_label |
used in |
use_par |
if |
... |
arguments to pass onto |
theta_segment |
(deprecated) use |
subitempool <- itempool_science[1:8] ## Plot item information of a pool plot(subitempool) plot(itempool_science, select = 1:8) ## Plot expected score of a pool plot(subitempool, type = "score") plot(itempool_science, type = "score", select = 1:8) ## Plot assembly results from Static() cfg <- createStaticTestConfig() solution <- Static(cfg, constraints_science) plot(solution) # defaults to the objective type plot(solution, type = "score") # plot expected scores ## Plot attainable information range from constraints plot(constraints_science) ## Plot assembly results from Shadow() cfg <- createShadowTestConfig() set.seed(1) solution <- Shadow(cfg, constraints_science, true_theta = rnorm(1)) plot(solution, type = 'audit' , examinee_id = 1) plot(solution, type = 'shadow', examinee_id = 1, simple = TRUE) ## plot(solution, type = 'exposure')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.