pls_cv: Cross validation for PLS regression

View source: R/local_helpers.R

pls_cvR Documentation

Cross validation for PLS regression

Description

for internal use only!

Usage

pls_cv(
  x,
  y,
  ncomp,
  method = c("pls", "wapls"),
  center = TRUE,
  scale,
  min_component = 1,
  new_x = matrix(0, 1, 1),
  weights = NULL,
  p = 0.75,
  number = 10,
  group = NULL,
  retrieve = TRUE,
  tune = TRUE,
  max_iter = 1,
  tol = 1e-06,
  seed = NULL,
  modified = FALSE
)

resemble documentation built on April 21, 2023, 1:13 a.m.