[R] How to save components in pls model
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Sun Jun 23 21:15:14 CEST 2019
By one obvious measure of "save" it looks like you already did save the results... they are in your `silt` object.
What are you trying to accomplish?
Also, please learn to send plain-text emails to this mailing list... the mailing list will strip out your formatting anyway, leaving more or less of a mess for us to read.
On June 22, 2019 11:52:33 PM PDT, Hossein Shafizadeh <hshafeezadeh using gmail.com> wrote:
>I want to *save the components *when using pls, I tried several ways
>No matter if using the caret package or in other coding formats. The
>in the caret is:
>factors <- c("a","b","c")
> method="pls",tuneLength = 10 , importance=T, verbose=FALSE,
> trControl=trainControl(method="cv",savePredictions =
> returnData=T, preProc = c("BoxCox","center", "scale"))
>Thanks in advance,
> [[alternative HTML version deleted]]
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.
More information about the R-help