Usage
spls( x, y, K, eta, kappa=0.5, select="pls2", fit="simpls", scale.x=TRUE, scale.y=FALSE, eps=1e-4, maxstep=100, trace=FALSE)
Arguments
y
Vector or matrix of responses.
K
Number of hidden components.
eta
Thresholding parameter. eta should be between 0 and 1.
kappa
Parameter to control the effect of
the concavity of the objective function
and the closeness of original and surrogate direction vectors.
kappa is relevant only when responses are multivariate.
kappa should be between 0 and 0.5. Default is 0.5.
select
PLS algorithm for variable selection.
Alternatives are "pls2" or "simpls".
Default is "pls2".
fit
PLS algorithm for model fitting. Alternatives are
"kernelpls", "widekernelpls",
"simpls", or "oscorespls".
Default is "simpls".
scale.x
Scale predictors by dividing each predictor variable
by its sample standard deviation?
scale.y
Scale responses by dividing each response variable
by its sample standard deviation?
eps
An effective zero. Default is 1e-4.
maxstep
Maximum number of iterations when fitting direction vectors.
Default is 100.
trace
Print out the progress of variable selection?