forages: forages

foragesR 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.

—– 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).

—– 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)


mlesnoff/rchemo documentation built on April 15, 2023, 1:25 p.m.