rowpeak: Number of rows with high and low peak value

Usage Arguments Value Examples

Usage

1

Arguments

x

an object of class vector

Value

an object of class list containing the number of rows which have high and low peak values

Examples

1
2
3
4
5
6
data(peach)
peach.pls <- plsr(Brix ~ NIR, ncomp = 15, data = peach, validation = "CV")
plot(RMSEP(peach.pls))
peak <- rowpeak(RMSEP(peach.pls)$val[2,,])
peak$low
RMSEP(peach.pls)$comps[peak$low]

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