Learn R Programming

FRegSigCom (version 0.3.0)

corn: NIR of corn samples

Description

This data set consists of measurements on 80 corn samples. For each sample, its moisture, oil, protein and starch values, together with its near-infrared (NIR) spectrum curve, were measured. The wavelength range of the NIR curve is from 1100nm to 2498nm, and the curve was measured at every 2 nm.

Usage

data(corn)

Arguments

Format

A list of 2 matrices:

X

an 80*700 matrix with each row giving the NIR spectrum of a corn sample.

Y

an 80*4 matrix with the 4 columns giving the moisture, oil, protein and starch values, respectively.

See Also

cv.msof

Examples

Run this code
# NOT RUN {
 data(corn)
 str(corn)
# }

Run the code above in your browser using DataLab