View source: R/generate_data.R
| generate_data | R Documentation |
Wraps mirt::simdata() to produce a response matrix from an
irt_design specification. Handles the b-to-d parameterization
translation and theta generation.
generate_data(design, n, seed = NULL, theta = NULL)
design |
An |
n |
Integer. Number of respondents. |
seed |
Optional integer. Random seed for reproducibility. If |
theta |
Optional numeric vector of length |
A numeric matrix with n rows and design$n_items columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.