config: a config_Shadow object. Use createShadowTestConfig for this.
constraints: a constraints object representing test specifications. Use loadConstraints for this.
true_theta: (optional) true theta values to use in simulation. Either true_theta or data must be supplied.
data: (optional) a matrix containing item response data to use in simulation. Either true_theta or data must be supplied.
prior: (optional) density at each config@theta_grid to use as prior. Must be a length-nq vector or a nj * nq matrix. This overrides prior_dist and prior_par in the config. prior and prior_par cannot be used simultaneously.
prior_par: (optional) normal distribution parameters c(mean, sd) to use as prior. Must be a length-nq vector or a nj * nq matrix. This overrides prior_dist and prior_par in the config. prior and prior_par cannot be used simultaneously.
exclude: (optional) a list containing item names in $i and set names in $s to exclude from selection for each participant. The length of the list must be equal to the number of participants.
include_items_for_estimation: (optional) an examinee-wise list containing:
administered_item_pool items to include in theta estimation as item_pool object.
administered_item_resp item responses to include in theta estimation.
force_solver: if TRUE, do not check whether the solver is one of recommended solvers for complex problems (set-based assembly, partitioning). (default = FALSE)
session: (optional) used to communicate with Shiny app TestDesign.
seed: (optional) used to perform data generation internally.
cumulative_usage_matrix: (optional) a nj by (ni + ns) matrix containing the number of times the item/stimulus was administered previously to each participant. Stimuli representations are appended to the right side of the matrix.
Returns
Shadow returns an output_Shadow_all object containing assembly results.