Learn R Programming

rchemo (version 0.1-3)

octane: octane

Description

Octane dataset.

Near infrared (NIR) spectra (absorbance) of \(n\) = 39 gasoline samples over \(p\) = 226 wavelengths (1102 nm to 1552 nm, step = 2 nm).

Samples 25, 26, and 36-39 contain added alcohol (outliers).

Usage

data(octane)

Arguments

Format

A list with 1 component: the matrix \(X\) with 39 samples and 226 variables.

References

M. Hubert, P. J. Rousseeuw, K. Vanden Branden (2005), ROBPCA: a new approach to robust principal components analysis, Technometrics, 47, 64-79.

P. J. Rousseeuw, M. Debruyne, S. Engelen and M. Hubert (2006), Robustness and Outlier Detection in Chemometrics, Critical Reviews in Analytical Chemistry, 36(3-4), 221-242.

Examples

Run this code

data(octane)

X <- octane$X
headm(X)

plotsp(X, xlab = "Wawelength", ylab = "Absorbance")
plotsp(X[c(25:26, 36:39), ], add = TRUE, col = "red")

Run the code above in your browser using DataLab