Amatrix                 Generate the matrix A, whose columns are the
                        vertices of the marginal polytope.
AmatrixSparse           Generate the matrix A, whose columns are the
                        vertices of the marginal polytope, as a sparse
                        matrix.
Cimproved               Calculate the critical value for our improved
                        test
ConsMinkSumHrep         Calculate the H-representation of the
                        consistent Minkowski sum
Csimple                 Calculate the critical value for our simple
                        test
EMiteration             Perform one step of the EM algorithm for
                        finding the MLE under MCAR in a contingency
                        table.
EquivalenceClass        Simplifies H-representation by exploiting
                        symmetry
FuchsTest               Carry out Fuchs's test of MCAR in a contingency
                        table, given complete and incomplete
                        observations.
InconsMinkSumHrep       Calculate the H-representation of the general
                        (possibly inconsistent) Minkowski sum
M                       Computes an inconsistency index for a
                        collection of means.
MLE                     Compute the MLE under MCAR in a contingency
                        table using the EM algorithm, given complete
                        and incomplete observations.
MargPolyHrep            Calculate the H-representation of the marginal
                        polytope
ProjectionTest          Carry out a test of MCAR in a contingency
                        table, given incomplete observations.
Rindex                  A function computing the incompatibility index
RindexDual              A function computing the incompatibility index
                        and associated closest joint mass function
                        using the dual formulation
RoundErrors             Round errors in halfspace representations
V                       Computes an inconsistency index for sequences
                        of variances.
aMatrixSparseRevLex     Generates the row indices used internally to
                        generate the sparse matrix A.
av                      Compute the columnwise average of a collection
                        of vectors.
colVector               Generates the column indices used internally to
                        generate the sparse matrix A.
col_index               A function indexing the columns of A
computeR                A function computing the incompatibility index
                        for sequences of correlation matrices.
computeR.reg            A function computing the regularised
                        incompatibility index for collections of
                        correlation matrices.
corrCompTest            Carry out a test of MCAR checking compatibility
                        of correlation matrices.
get_SigmaS              Computes the collection of patterns, means,
                        variances, covariance and correlation matrices
                        for a given dataset with missing values.
infoS                   Calculates the total cardinality of the sample
                        spaces.
infoS2                  Calculates the individual cardinalities of the
                        sample spaces.
little_test             Carry out Little's test of MCAR.
loglik0                 Compute the log likelihood of a probability
                        mass function, under MCAR, given complete and
                        incomplete data
loglik1                 Compute the log likelihood of a probability
                        mass function, without assuming MCAR, given
                        complete and incomplete data
margProj                Internal function multiplying a mass function
                        by the sparse matrix A.
meanConsTest            Carry out a test of MCAR checking consistency
                        of mean vectors.
row_index               A function indexing the rows of A
varConsTest             Carry out a test of MCAR checking consistency
                        of variance vectors.
