recategorize {IRTest} | R Documentation |
Recategorization of data using a new categorization scheme
Description
With a recategorization scheme as an input, this function implements recategorization for the input data.
Usage
recategorize(data, new_cat)
Arguments
data |
An item response matrix. |
new_cat |
A list of a new categorization scheme. |
Value
Recategorized data
Author(s)
Seewoo Li cu@yonsei.ac.kr
Examples
# Preparation of dichotomous item response data
data <- DataGeneration(N=1000,
nitem_P = 8)$data_P
# Analysis
M1 <- IRTest_Poly(data)
# Recommendation of category collapsing
new_cat <- cat_clps(M1$par_est)
# Recategorization of data
recategorize(data, new_cat)
[Package IRTest version 2.0.0 Index]