Transforms a matrix of items into a new matrix where the select polytomous items have been converted into comparable dichotomous items with the same information.
Usage
poly2dich(data, which.items = 1:ncol(data), sep = "_cat.")
References
Chalmers, R., P. (2012). mirt: A Multidimensional Item Response Theory Package for the R Environment. Journal of Statistical Software, 48(6), 1-29. doi:10.18637/jss.v048.i06
Author
Phil Chalmers rphilip.chalmers@gmail.com