tolong {irtrees} | R Documentation |
Convert a wide-format matrix to long format
Description
Convert an IRT response matrix in the wide format to a data frame in the long format. In the wide format each row corresponds to a respondent and each column to an item.
Usage
tolong(mat)
Arguments
mat |
an integer IRT response matrix (i.e. a wide format) |
Value
a long-format data frame
[Package irtrees version 1.0.0 Index]