tolong: Convert a wide-format matrix to long format

Description Usage Arguments Value

View source: R/dendrify.R

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

1
tolong(mat)

Arguments

mat

an integer IRT response matrix (i.e. a wide format)

Value

a long-format data frame


irtrees documentation built on Dec. 15, 2021, 1:08 a.m.