.o2cv {o2plsda}R Documentation

do cross-validation with group factors

Description

do cross-validation with group factors

Usage

.o2cv(X, Y, n, nx, ny, group, nr)

Arguments

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

Value

a list of o2pls results

Author(s)

Kai Guo


[Package o2plsda version 0.0.18 Index]