convert_TIRT | R Documentation |
Convert thirt responses with 4 items per block to thurstonianIRT data structure
convert_TIRT(resp, n_item = 4)
resp |
a list with:
(1) data.frame |
n_item |
an integer indicating number of items per block. currently only supports 4 items per block |
a data.frame following the structure of thurstonianIRT::triplets_long but with 4 items per block
## Not run:
set.seed(202106)
params <- simulate_thirt_params(n_person = 20,
n_item = 4,
n_block = 2,
n_dim = 4)
resp <- do.call(simulate_thirt_resp, params)
quads_long <- convert_TIRT(resp, n_item = 4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.