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:
Xtrain
A matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).
ytrain
A vector of the response variable (class membership).
For the test data:
Xtest
A matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).
ytest
A vector of the response variable (class membership).
Examples
data(forages)
str(forages)
[Package rchemo version 0.1-2 Index]