Convert thirt responses with 4 items per block to thurstonianIRT data structure
convert_TIRT(resp, n_item = 4)
a list with:
(1) data.frame item
indicating items, blocks, and dimensions, and
(2) data.frame resp
indicating people, blocks, response numbers, and response sequences
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
if (FALSE) {
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)
}