Learn R Programming

TestDesign (version 1.1.3)

makeTest: Generate a test object

Description

makeTest is a function for creating a '>test object. This is used in Shadow to determine all necessary data prior to the main simulation, so that they are not affected by random number generation.

Usage

makeTest(
  object,
  theta = seq(-4, 4, 0.1),
  info_type = "FISHER",
  true_theta = NULL
)

# S4 method for item_pool makeTest( object, theta = seq(-4, 4, 0.1), info_type = "FISHER", true_theta = NULL )

Arguments

object

an '>item_pool object.

theta

a grid of theta values.

info_type

the type of information.

true_theta

(optional) true theta values to simulate response data.

Examples

Run this code
# NOT RUN {
test <- makeTest(itempool_science, seq(-3, 3, 1))
# }

Run the code above in your browser using DataLab