MLM_cv: Cross validation (fold-5) function for high dimension data.

Description Usage Arguments Value

View source: R/vali_mode.R

Description

Cross validation (fold-5) function for high dimension data.

Usage

1
MLM_cv(x = NULL, y = NULL, nit = 1, nc = 2, max_iter = 50)

Arguments

x

x variable.

y

y variable.

nit

Iteration number.

nc

The number of component.

max_iter

Maximum iteration.

Value

The correlation between y and y_hat based on five fold cross validation.


RobMixReg documentation built on Aug. 5, 2020, 5:08 p.m.