- X
a matrix or list of matrices indicating the explanatory variable(s). This parameter is required.
- Y
a matrix or list of matrices indicating objective variable(s). This is optional. If there is no input for Y, then PCA is implemented.
- Z
a vector, response variable(s) for implementing the supervised version of (multiblock) PCA or PLS. This is optional. The length of Z is the number of subjects. If there is no input for Z, then unsupervised PLS/PCA is implemented.
- eta
numeric scalar indicating the parameter indexing the penalty family. This version contains only choice 1.
- type
a character, indicating the penalty family. In this version, only one choice is available: "lasso."
- inX
a (list of) numeric vector to specify the variables of X which are always in the model.
- inY
a (list of) numeric vector to specify the variables of X which are always in the model.
- inXsup
a (list of) numeric vector to specify the blocks of X which are always in the model.
- inYsup
a (list of) numeric vector to specify the blocks of Y which are always in the model.
- muX
a numeric scalar for the weight of X for the supervised case. 0 <= muX <= 1.
- muY
a numeric scalar for the weight of Y for the supervised case. 0 <= muY <= 1.
- comp
numeric scalar for the maximum number of componets to be considered.
- nfold
number of folds. Default is 5.
- maxrep
numeric scalar for the number of iteration.
- minpct
percent of minimum candidate parameters.
- maxpct
percent of maximum candidate parameters.
- criterion
a character, the evaluation criterion, "CV" for cross-validation, based on a matrix element-wise error, and "BIC" for Bayesian information criteria. The "BIC" is the default.
- whichselect
which blocks selected.
- homo
same parameters.
- intseed
seed number for the random number in the parameter estimation algorithm.
- x
an object of class "regparasearch", usually, a result of a call to regparasearch
- ...
further arguments passed to or from other methods.