View source: R/inferences4PLSC.R
compS | R Documentation |
compS
: Computes an SCP matrix from 2 matrices X and Y
with several possible
combinations of centering and normalizing.
Both X
and Y
are pre-processed
(i.e., centered / normalized)
Used for functions related to PLSC /
inter-battery analysis / co-inertia analysis...
Allows different types of normalization
based on the ExPosition
function
expo.scale
.
compS(
DATA1,
DATA2,
center1 = TRUE,
center2 = TRUE,
scale1 = "ss1",
scale2 = "ss1"
)
DATA1 |
an |
DATA2 |
an |
center1 |
when |
center2 |
when |
scale1 |
when |
scale2 |
when |
The options of centering and scaling are almost always used with the defaults, so change them only if you know what you are doing.
S
the cross-product matrix from
X
and Y
.
Hervé Abdi
S <- compS(matrix(stats::runif(10), nrow = 5), matrix(stats::runif(15), nrow = 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.