selectivityRatio: Calculates selectivity ratio for a given regression model

Usage Arguments Value Author(s) Examples

Usage

1
selectivityRatio(mvr, ncomp = mvr$ncomp)

Arguments

mvr

an mvr object. The fitted model built by plsr function (see plsr).

ncomp

a positive integer. The number of components included in the model.

Value

selectivity ratio for each variable included in the model

Author(s)

Yasuhiro Uwadaira (supported by Vipavee Trivittayasil)

Examples

1
2
3
data(peach)
peach.pls <- plsr(Brix ~ NIR, ncomp = 5, data = peach, validation = "CV")
selectivityRatio(peach.pls)

uwadaira/plsropt documentation built on May 3, 2019, 2:39 p.m.