aMatrixSparseRevLex {MCARtest} | R Documentation |
Generates the row indices used internally to generate the sparse matrix A.
Description
Generates the row indices used internally to generate the sparse matrix A.
Usage
aMatrixSparseRevLex(bS, M)
Arguments
bS |
A binary matrix specifying the set of observation patterns. Each row encodes a single pattern. |
M |
A vector of positive integers giving the alphabet sizes of the discrete variables. |
Value
A vector of row indices.
[Package MCARtest version 1.2.1 Index]