Learn R Programming

MCARtest (version 1.2.1)

margProj: Internal function multiplying a mass function by the sparse matrix A.

Description

Internal function multiplying a mass function by the sparse matrix A.

Usage

margProj(p, bS, M)

Value

A collection of marginal mass functions.

Arguments

p

A subprobability mass function on the full joint space.

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.