This functions calculates a CCA model with L1 norm sparse penalties on the canonical loadings, as well as L2 norm penalties on the structural loadings in Y.
1 2 |
X |
a n by px matrix |
Y |
a n by py matrix |
R |
a py by py symmetric matrix indicating strucural relationship between features in Y. |
ncomp |
= 1 (default) - number of components |
sumabs |
= sqrt(c(px,py)) - vector of L1 contraint on the canonical loadings u and v respectively |
na |
= 30 (default) - indicating the grid of structural penalties based on R to tests or a vector of specific penalties. |
nperm |
= 100 (default) - number of permutations to be perfomed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.