datforages: datforages

datforagesR Documentation

datforages

Description

A NIRS pre-processed data set describing the class membership of forages. Spectra were recorded from 1100 to 2498 nm at 2 nm intervals.

Usage

data(datforages)

Format

A list with 4 components: Xr, yr, Xu, yu.

—– Reference (calibration) data

Xr

A matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).

yr

A vector of the response variable (class membership).

—– Test data

Xu

A matrix whose rows are the pre-processed NIR absorbance spectra (= log10(1 / Reflectance)).

yu

A vector of the response variable (class membership).

Examples


data(datforages)
str(datforages)


mlesnoff/rnirs documentation built on April 24, 2023, 4:17 a.m.