| forages {rchemo} | R Documentation |
forages
Description
A NIRS dataset (pre-processed absorbance) describing the class membership of forages. Spectra were recorded from 1100 to 2498 nm at 2 nm intervals.
Usage
data(forages)
Format
A list with 4 components: Xtrain, ytrain, Xtest, ytest.
For the reference (calibration) data:
XtrainA matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).
ytrainA vector of the response variable (class membership).
For the test data:
XtestA matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).
ytestA vector of the response variable (class membership).
Examples
data(forages)
str(forages)
[Package rchemo version 0.1-2 Index]