aMatrixSparseRevLex: Generates the row indices used internally to generate the...

View source: R/RcppExports.R

aMatrixSparseRevLexR 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.


MCARtest documentation built on Oct. 29, 2024, 5:08 p.m.