sim_irt | R Documentation |
Function to simulate data that can be used to fit IRT models.
sim_irt(
n.obs = 100,
n.items = 10,
discrimination = 0,
seed = NULL,
cut = "random"
)
n.obs |
Number of observations that should be included in the data set |
n.items |
Number of items that should be simulated |
discrimination |
Standard deviation on the log scale |
seed |
Seed for the random number generation process |
cut |
Either "random" for a randomized transformation of the model probability matrix into the model 0-1 matrix or an integer value between 0 and 1. |
a tibble
library(ggmirt)
sim_irt(n.obs = 200, n.items = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.