Learn R Programming

MCARtest (version 1.2.1)

InconsMinkSumHrep: 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 BS2022;textualMCARtest.

Usage

InconsMinkSumHrep(bS, M, round = FALSE)

Value

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

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.

References

BS2022MCARtest

RCDDMCARtest

Examples

Run this code
bS=matrix(c(1,1, 1,0),byrow=TRUE,ncol=2)
InconsMinkSumHrep(bS,c(2,2))

Run the code above in your browser using DataLab