Inverse of irw_long2resp(): converts a wide response data frame/matrix
into long format with columns id, item, resp.
Arguments
- x
A wide response object (data.frame or matrix). If produced by
irw_long2resp(), it will typically include anidcolumn.- id
Logical. If TRUE (default), expects an
idcolumn inx. If FALSE, createsid = 1:nrow(x)and treats all columns as item columns.