p_thirt | R Documentation |
Calculate the probability of all potential response patterns for each respondent
p_thirt(gamma, items, persons, picked_order = NULL)
gamma |
a data.frame of length |
items |
a data.frame of length |
persons |
a data.frame of length |
picked_order |
a data.frame of length |
a list of length [block]
of matrices with dimension [person X permutation]
of probabilities for each response pattern per block.
## Not run:
set.seed(202106)
params <- simulate_thirt_params(n_person = 200,
n_item = 3,
n_block = 2,
n_dim = 3)
prob <- do.call(p_thirt, params)
for(block in seq_along(prob)){
print(summary(prob[[block]]))
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.