Description Usage Arguments Value
Simulate item responses from the 2PL.
1 | sim_2PL(parms, theta)
|
parms |
a list or data.frame with elements parms$alpha and parms$beta corresponding to the discrimination and difficulty parameters of the 2PL model, respectively. |
theta |
the vector of latent traits. |
length(theta)
by nrow(parms)
matrix of binary responses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.