Learn R Programming

TestDesign (version 1.7.0)

makeSimulationDataCache: Create a simulation data cache object

Description

makeSimulationDataCache is a function for creating a simulation_data_cache object. This is used in Shadow to make all necessary data (e.g., item information, response data) prior to the main simulation.

Usage

makeSimulationDataCache(
  item_pool,
  info_type = "FISHER",
  theta_grid = seq(-4, 4, 0.1),
  seed = NULL,
  true_theta = NULL,
  response_data = NULL
)

# S4 method for item_pool makeSimulationDataCache( item_pool, info_type = "FISHER", theta_grid = seq(-4, 4, 0.1), seed = NULL, true_theta = NULL, response_data = NULL )

Arguments

item_pool

an item_pool object.

info_type

the type of information.

theta_grid

a grid of theta values.

seed

(optional) seed to use for generating response data if needed.

true_theta

(optional) true theta values of all simulees.

response_data

(optional) response data on all items for all simulees.