Learn R Programming

TestDesign (version 1.0.1)

plotCAT: Draw an audit trail plot

Description

Draw an audit trail plot.

Usage

plotCAT(
  object,
  examinee_id = 1,
  min_theta = -5,
  max_theta = 5,
  min_score = 0,
  max_score = 1,
  z_ci = 1.96,
  file_pdf = NULL,
  ...
)

# S4 method for list plotCAT( object, examinee_id = 1, min_theta = -5, max_theta = 5, min_score = 0, max_score = 1, z_ci = 1.96, file_pdf = NULL, ... )

# S4 method for output_Shadow plotCAT( object, examinee_id = 1, min_theta = -5, max_theta = 5, min_score = 0, max_score = 1, z_ci = 1.96, file_pdf = NULL, ... )

Arguments

object

An output object generated by Shadow.

examinee_id

Numeric ID of the examinee to draw the plot.

min_theta

A lower bound of theta.

max_theta

An upper bound of theta.

min_score

A minimum item score.

max_score

A maximum item score.

z_ci

A quantile of the normal distribution for confidence intervals.

file_pdf

If supplied a filename, save as a PDF file.

...

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)
plotCAT(solution, 1)

# }

Run the code above in your browser using DataLab