Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

soil

The soil dataset


Description

The soil dataset contains 108 sample measurements from the wavelength range of 400–2500 nm (visible and near infrared spectrum) published by Rinnan et al.

Usage

data(soil)

References

Rinnan, R., & Rinnan, A. (2007). Application of near infrared reflectance (NIR) and fluorescence spectroscopy to analysis of microbiological and chemical properties of arctic soil. Soil biology and Biochemistry, 39(7), 1664–1673.

Examples

data("soil")

X <- soil$x
y <- soil$som
n <- nrow(soil$x)

set.seed(1001)
samp.idx <- sample(1L:n, round(n * 0.7))
X.cal <- X[samp.idx, ]
y.cal <- y[samp.idx]
X.test <- X[-samp.idx, ]
y.test <- y[-samp.idx]

OHPL

Ordered Homogeneity Pursuit Lasso for Group Variable Selection

v1.4
GPL-3 | file LICENSE
Authors
You-Wu Lin [aut], Nan Xiao [cre] (<https://orcid.org/0000-0002-0250-5673>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.