PLSModel | R Documentation |
Function to perform partial least squares regression.
PLSModel(ncomp = 1, scale = FALSE)
ncomp |
number of components to include in the model. |
scale |
logical indicating whether to scale the predictors by the sample standard deviation. |
factor
, numeric
ncomp
Further model details can be found in the source link below.
MLModel
class object.
mvr
, fit
, resample
## Requires prior installation of suggested package pls to run
fit(sale_amount ~ ., data = ICHomes, model = PLSModel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.