View source: R/InferencesMultinom4CA-3.R
fastPerm4CA | R Documentation |
fastPerm4CA
computes a permutation test
for CA when CA is performed
on a real contingency table.
The resampling is obtained
from a multinomial distribution.
fastPerm4CA
can be used for big tables
for the omnibus test (i.e., inertia) and for
the test on the eigenvalues.
fastPerm4CA(X, nIter = 1000, compact = FALSE)
X |
the data matrix (non-negative integers) |
nIter |
(Default = 1000). Number of Iterations (i.e. number of permuted samples computed). |
compact |
if |
a list with
fixedInertia
: the CA-inertia of the data matrix;
fixedEigenvalues
: the CA-eigenvalues of
the data matrix;
pOmnibus
: the probability associated
to the inertia.
If compact
is FALSE
, return also
permInertia
:
an nIter
* 1 vector containing the
permuted inertia;
pEigenvalues
: The probabilities
associated to each eigenvalue;
If compact
is FALSE
, return also
permEigenvalues
: an
nIter
* L
matrix giving
the permuted eigenvalues.
Hervé Abdi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.