Learn R Programming

TestDesign (version 1.1.3)

plotInfo: (deprecated) Plot item/test/pool-level information

Description

(deprecated) Use plot.

Usage

plotInfo(
  object,
  theta = seq(-3, 3, 0.1),
  info_type = "FISHER",
  plot_sum = TRUE,
  select = NULL,
  color = "blue",
  file_pdf = NULL,
  width = 7,
  height = 6,
  mfrow = c(2, 4)
)

# S4 method for output_Static plotInfo( object, theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, color = "blue", file_pdf = NULL, width = 7, height = 6, mfrow = c(2, 4) )

# S4 method for item_pool plotInfo( object, theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, color = "blue", file_pdf = NULL, width = 7, height = 6, mfrow = c(1, 1) )

# S4 method for constraints plotInfo( object, theta = seq(-3, 3, 0.1), info_type = "FISHER", plot_sum = TRUE, select = NULL, color = "black", file_pdf = NULL, width = 7, height = 6, mfrow = c(1, 1) )

Arguments

object
  • '>item_pool: plot pool-level or item-level information.

  • '>output_Static: plot test-level information of the assembly solution.

  • '>constraints: plot attainable information range.

theta

the theta grid to use on the x-axis. (default = seq(-3, 3, .1))

info_type

the type of information. Accepts FISHER. (default = FISHER)

plot_sum

used when the object argument is an '>item_pool object. If TRUE then draw pool-level information, and if FALSE draw item-level information for every item in the pool. (default = TRUE)

select

(optional) used when the object argument is an '>item_pool object. Items to select from the pool.

color

the color of the curve. (default = blue)

file_pdf

(optional) if supplied a filename, save as a PDF file.

width

the width of the plot. (default = 7)

height

the height of the plot. (default = 6)

mfrow

multi-panel configurations to use. (default = c(2, 4))

Examples

Run this code
# NOT RUN {
subitempool <- subsetItemPool(itempool_science, 1:8)
plot(subitempool)

config <- createStaticTestConfig()
solution <- Static(config, constraints_science)
plot(solution)

# }

Run the code above in your browser using DataLab