ip <- generate_ip(n = 15)
resp_set <- generate_resp_set(ip = ip, theta = rnorm(30), prop_missing = .5)
# Matrix of item scores
as.matrix(resp_set)
# If the item pool object provided, the column names will have the same
# order as the item order in item pool
as.matrix(resp_set, ip = ip)
# Matrix of raw responses
as.matrix(resp_set, output = "raw_response")
# Matrix of item order
as.matrix(resp_set, output = "order")
# Matrix of item ids
as.matrix(resp_set, output = "item_id")
Run the code above in your browser using DataLab