Learn R Programming

plsVarSel (version 0.9.12)

stpls: Soft-Threshold PLS (ST-PLS)

Description

A soft-thresholding step in PLS algorithm (ST-PLS) based on ideas from the nearest shrunken centroid method.

Usage

stpls(..., method = c("stpls", "model.frame"))

Value

Returns an object of class mvrV, simliar to to mvr object of the pls package.

Arguments

...

arguments passed on to mvrV).

method

choice between the default stpls and alternative model.frame.

Author

Solve Sæbø, Tahir Mehmood, Kristian Hovde Liland.

Details

The ST-PLS approach is more or less identical to the Sparse-PLS presented independently by Lè Cao et al. This implementation is an expansion of code from the pls package.

References

S. Sæbø, T. Almøy, J. Aarøe, A.H. Aastveit, ST-PLS: a multi-dimensional nearest shrunken centroid type classifier via pls, Journal of Chemometrics 20 (2007) 54-62.

See Also

VIP (SR/sMC/LW/RC), filterPLSR, shaving, stpls, truncation, bve_pls, ga_pls, ipw_pls, mcuve_pls, rep_pls, spa_pls, lda_from_pls, lda_from_pls_cv, setDA.

Examples

Run this code
data(yarn, package = "pls")
st <- stpls(density~NIR, ncomp=5, shrink=c(0.1,0.2), validation="CV", data=yarn)
summary(st)

Run the code above in your browser using DataLab