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
)