makeSimulationDataCache-methods: Create a simulation data cache object

makeSimulationDataCacheR Documentation

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 signature '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.


TestDesign documentation built on Feb. 16, 2023, 7:19 p.m.