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 | permCCA(X, Y, R, ncomp = 1, nperm = 100, sumabs)
|
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 |
scalar - number of components |
nperm |
scalar = 100 (default) number of permutations to be perfomed |
sumabs |
1 by 2 vector of L1 contraint on the canonical loadings u and v respectively |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.