Learn R Programming

TestDesign (version 1.0.0)

plotShadow: Draw a shadow test chart

Description

Draw a chart of shadow tests constructed for each simulee. The index of a column represents the position of item administration process, and each column represents the item pool.

Usage

plotShadow(object, examinee_id = 1, sort_by_difficulty = FALSE,
  file_pdf = NULL, simple = FALSE, ...)

# S4 method for list plotShadow(object, examinee_id = 1, sort_by_difficulty = FALSE, file_pdf = NULL, simple = FALSE, ...)

Arguments

object

An output from Shadow function.

examinee_id

Numeric ID of the examinee to draw the plot.

sort_by_difficulty

Sort the items by difficulty. (not implemented)

file_pdf

If supplied a filename, save as a PDF file.

simple

If TRUE, simplity the chart by hiding unused items.

...

Additional options to be passed on to pdf().

Examples

Run this code
# NOT RUN {
config <- createShadowTestConfig()
true_theta <- rnorm(1)
solution <- Shadow(config, constraints_science, true_theta)
plotShadow(solution, 1)
plotShadow(solution, 1, simple = TRUE)

# }

Run the code above in your browser using DataLab