The package provides functions for pretreatment and sample selection of visible and near infrared diffuse reflectance spectra