View source: R/inferences4PLSC.R
perm4PLSC | R Documentation |
TExPosition::tepPLS
)perm4PLSC
: Permutation for PLSC (as implemented
in TExPosition::tepPLS
).
Computes an omnibus permutation test and
specific tests for the eigenvalues when
performing a PLSC from
2 matrices X and Y.
Several possible
combinations of centering and normalizing
are possible (see paramater scale1,
scale2, center2, scale2
).
Used for functions related to PLSC /
inter-battery analysis / co-inertia...
The different types of normalization are
based on the ExPosition::expo.scale
function. Two different permutation schemes
are currently available (see parameter
permType
).
perm4PLSC( DATA1, DATA2, center1 = TRUE, center2 = TRUE, scale1 = "ss1", scale2 = "ss1", nIter = 1000, permType = "byMat", compact = FALSE )
DATA1 |
an N*I matrix of quantitative data |
DATA2 |
an N*J matrix of quantitative data |
center1 |
when |
center2 |
when |
scale1 |
when |
scale2 |
when |
nIter |
(Default = |
permType |
what type of permutation is used
if |
compact |
if |
a list with
fixedInertia
: the inertia of
X'Y data matrix (i.e., sums of squares)
fixedEigenvalues
: the eigenvalues of
the X'Y 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 probabilites
associated to each eigenvalue;
If compact
is FALSE
, returns also
permEigenvalues
: an
nIter
* L
matrix giving
the permuted eigenvalues.
Hervé Abdi
compS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.