View source: R/sim_responses.R
sim.responses | R Documentation |
simulate responses under Thurstonian IRT model
sim.responses(traits, items, design.load, K, nb, return.index = TRUE)
traits |
matrix of trait levels, rows = persons, columns = traits |
items |
matrix of item intercepts, loadings, and uniquenesses, as from sim.items() |
design.load |
design matrix of questionnaire, rows=items, columns=traits, 1=positively keyed, -1=negatively keyed |
K |
scalar, number of blocks |
nb |
scalar, block size |
return.index |
logical, return index for rank order as in permute() (TRUE) or rank orders (FALSE)? defaults to TRUE |
matrix of ranks, rows = persons, columns = items
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.