Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bootnComp

Bootstrap to find optimal number of components


Description

Combined bootstrap and cross validation procedure to find optimal number of PLS components

Usage

bootnComp(X, y, R = 99, plotting = FALSE)

Arguments

X

predictors as a matrix

y

response

R

number of bootstrap replicates

plotting

if TRUE, a diagnostic plot is drawn for each bootstrap replicate

Details

Heavily used internally in function impRZilr.

Value

Including other information in a list, the optimal number of components

Author(s)

Matthias Templ

See Also

Examples

## we refer to impRZilr()

robCompositions

Compositional Data Analysis

v2.3.0
GPL (>= 2)
Authors
Matthias Templ [aut, cre] (<https://orcid.org/0000-0002-8638-5276>), Karel Hron [aut] (<https://orcid.org/0000-0002-1847-6598>), Peter Filzmoser [aut] (<https://orcid.org/0000-0002-8014-4682>), Kamila Facevicova [ctb], Petra Kynclova [ctb], Jan Walach [ctb], Veronika Pintar [ctb], Jiajia Chen [ctb], Dominika Miksova [ctb], Bernhard Meindl [ctb], Alessandra Menafoglio [ctb] (<https://orcid.org/0000-0003-0682-6412>), Alessia Di Blasi [ctb], Federico Pavone [ctb], Gianluca Zeni [ctb]
Initial release
2020-11-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.