| .o2cv | R Documentation | 
do cross-validation with group factors
.o2cv(X, Y, n, nx, ny, group, nr)
| X | a Numeric matrix (input) | 
| Y | a Numeric matrix (input) | 
| n | Integer. Number of joint PLS components. | 
| nx | Integer. Number of orthogonal components in X | 
| ny | Integer. Number of orthogonal components in Y | 
| group | a vector to indicate the group for Y | 
| nr | Integer to indicate the folds for cross validation | 
a list of o2pls results
Kai Guo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.