View source: R/fastInferences4-eigen-CA.R
multinomCV4CA | R Documentation |
multinomCV4CA
:
a very fast routine that
computes the permuted and bootstrapped eigenvalues
of the correspondence analysis (CA) of a matrix suitable
for CA (i.e., a matrix with non negative elements).
multinomCV4CA(Data, niter = 1000)
Data |
a matrix suitable for CA (i.e., a matrix with non negative elements). |
niter |
number of Bootstrapped/Permutations
(Default: |
multinomCV4CA
uses the multinomial distribution to
simulate bootstrap and permutation resampling
for a correspondence analysis.
A list with two elements: 1)
$Permuted.ValP
: The matrix of the
niter
by rank(Data)
permuted
eigenvalues of the data matrix Data
, and
$Bootstraped.ValP
: The matrix of the
niter
by rank(Data)
bootstrapped
eigenvalues of the data matrix Data
.
## Not run:
set.seed(87) # set the seed
X <- matrix(round(runif(21)*20), ncol = 3) # good for CA
ResCV <- multinomCV4CA(X)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.