Auxiliary function written in R for providing the necessary information
about the patterns generated by raters. This function produces the
input for the EM-algorithm.
Value
Function returns a list with the following components:
- n
Integer representing the number of different patterns in the data.
- shape
Matrixcontaining all unique patterns in in the data. Cells of the matrix are characters.- frq
Vectorcontaining the frequencies of the patterns.- count
Matrixcontaining the relative frequencies of the categories within each pattern. The number of rows equals the number of patterns. The number of columns equals the number of categories.