msca | R Documentation |
Multilevel Simultaneous Component Analysis (MSCA).
msca(X, persID)
X |
a data table with structure ((I x K) x J), see details for more information |
persID |
vector length (IxK) person ids (numeric e.g. for the situation with 4 samples per person 1 1 1 1 2 2 2 2 3 3 3 3, or factor) |
X needs to have the following data table structure ((I x K) x J). Where I are the individuals, J are the variables, and K are samples of an individual.
Note: msca can NOT handle NA's!
Based on the algorithm Jansen et al. ANALYTICA CHIMICA ACTA (2005) 530(2):173-183 Based on MatLab code available here http://www.bdagroup.nl/content/Downloads/software/software.php
A data frame with the following structure :
$between$data |
table used for the between-individual level |
$between$scores |
between-individual scores |
$between$loadings |
between-individual loadings |
$between$percexp |
percentage of variation explained in the between-individual model |
$within$data |
table used for the within-individual level |
$within$scores |
within-individual scores |
$within$loadings |
within-individual loadings |
$within$percexp |
percentage of variation explained in the within-individual model |
E. Nevedomskaya
Jansen et al. ANALYTICA CHIMICA ACTA (2005) 530(2):173-183
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.