get.Mmatrix.Rd
Calculate \(\mathbf{M}\) matrix for stauted CDMs (de la Torre, 2011).
get.Mmatrix(K = NULL, pattern = NULL)
The number of attributes. Can be NULL if pattern
is passed to the function and is not NULL.
The knowledge state matrix containing all possible attribute mastery pattern.
Can be gained from @seealso attributepattern
. Also can be NULL if K
is passed to the function and is not NULL.
An object of class matrix
.
de la Torre, J. (2011). The Generalized DINA Model Framework. Psychometrika, 76(2), 179-199. DOI: 10.1007/s11336-011-9207-7.