Bootstrap to find optimal number of components
Combined bootstrap and cross validation procedure to find optimal number of PLS components
bootnComp(X, y, R = 99, plotting = FALSE)
X |
predictors as a matrix |
y |
response |
R |
number of bootstrap replicates |
plotting |
if TRUE, a diagnostic plot is drawn for each bootstrap replicate |
Heavily used internally in function impRZilr.
Including other information in a list, the optimal number of components
Matthias Templ
## we refer to impRZilr()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.