bootnComp: Bootstrap to find optimal number of components

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
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

impRZilr

Examples

1
## we refer to impRZilr()


Search within the robCompositions package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.