splsda | R Documentation |
Sparse PLS functions (adapted from mixOmics package for web-based usage) this function is a particular setting of internal_mint.block the formatting of the input is checked in internal_wrapper.mint
splsda(
X,
Y,
ncomp = 2,
mode = c("regression", "canonical", "invariant", "classic"),
keepX,
keepX.constraint = NULL,
scale = TRUE,
tol = 1e-06,
max.iter = 100,
near.zero.var = FALSE,
logratio = "none",
multilevel = NULL
)
X |
numeric matrix of predictors |
Y |
a factor or a class vector for the discrete outcome |
ncomp |
the number of components to include in the model. Default to 2. |
mode |
Default set to c("regression", "canonical", "invariant", "classic") |
keepX |
Number of |
keepX.constraint |
A list containing which variables of X are to be kept on each of the first PLS-components. |
scale |
Boleean. If scale = TRUE, each block is standardized to zero means and unit variances (default: TRUE). |
tol |
Convergence stopping value. |
max.iter |
integer, the maximum number of iterations. |
near.zero.var |
boolean, see the internal |
logratio |
"None" by default, or "CLR" |
multilevel |
Designate multilevel design, "NULL" by default |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.