MargPolyHrep | R Documentation |
Computes the minimal halfspace representation of the marginal polytope defined, for example, in \insertCiteBS2022;textualMCARtest.
MargPolyHrep(bS, M, round = FALSE)
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 |
A halfspace representation object as used by the rcdd
package. See \insertCiteRCDD;textualMCARtest for more detail.
BS2022MCARtest
\insertRefRCDDMCARtest
bS=matrix(c(1,1,0, 1,0,1, 0,1,1),byrow=TRUE,ncol=3)
MargPolyHrep(bS,c(2,2,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.