- X
Numeric matrix. Vectors will be coerced to matrix with as.matrix
(if this is possible)
- Y
Numeric matrix. Vectors will be coerced to matrix with as.matrix
(if this is possible)
- a
Vector of positive integers. Denotes the numbers of joint components to consider.
- ax
Vector of non-negative integers. Denotes the numbers of X-specific components to consider.
- ay
Vector of non-negative integers. Denotes the numbers of Y-specific components to consider.
- nr_folds
Positive integer. Number of folds to consider. Note: kcv=N
gives leave-one-out CV. Note that CV with less than two folds does not make sense.
- nr_cores
Positive integer. Number of cores to use for CV. You might want to use detectCores()
. Defaults to 1.
- stripped
Logical. Use the stripped version of o2m (usually when cross-validating)?
- p_thresh
Integer. If X
has more than p_thresh
columns, a power method optimization is used, see o2m2
- seed
Integer. A random seed to make the analysis reproducible.
- q_thresh
Integer. If Y
has more than q_thresh
columns, a power method optimization is used, see o2m2
- tol
Double. Threshold for which the NIPALS method is deemed converged. Must be positive.
- max_iterations
Integer. Maximum number of iterations for the NIPALS method.