ConsMinkSumHrep: Calculate the H-representation of the consistent Minkowski...

View source: R/ConsMinkSumHrep.R

ConsMinkSumHrepR Documentation

Calculate the H-representation of the consistent Minkowski sum

Description

Computes the minimal halfspace representation of the Minkowski sum of the marginal polytope and the consistent ball defined in \insertCiteBS2022;textualMCARtest.

Usage

ConsMinkSumHrep(bS, M, round = FALSE)

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.

round

A logical value indicating whether or not to round coefficients to 15 significant figures. The function RoundErrors can be used separately to substitute other values for 15. Defaults to FALSE.

Value

A halfspace representation object as used by the rcdd package. See \insertCiteRCDD;textualMCARtest for more detail.

References

\insertRef

BS2022MCARtest

\insertRef

RCDDMCARtest

Examples

bS=matrix(c(1,1,0, 1,0,1, 0,1,1),byrow=TRUE,ncol=3)
ConsMinkSumHrep(bS,c(2,2,2))


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