InconsMinkSumHrep: Calculate the H-representation of the general (possibly...

View source: R/InconsMinkSumHrep.R

InconsMinkSumHrepR Documentation

Calculate the H-representation of the general (possibly inconsistent) Minkowski sum

Description

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

Usage

InconsMinkSumHrep(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, 1,0),byrow=TRUE,ncol=2)
InconsMinkSumHrep(bS,c(2,2))

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