| aggregate_spectra | Aggregate data based on grouping variables and a user-provided function |
| filter_spectra | Filter spectral data frame based on Mahalanobis distance |
| format_cv | Format multiple trials with or without overlapping genotypes into training and test sets according to user-provided cross validation scheme |
| ikeogu.2017 | Example vis-NIRS and reference dataset |
| plot_spectra | Plot spectral data, highlighting outliers as identified using Mahalanobis distance |
| predict_spectra | Use provided model object to predict trait values with input dataset |
| pretreat_spectra | Pretreat spectral data according to user-designated method |
| save_model | Save spectral prediction model and model performance statistics |
| test_spectra | Test the performance of spectral models |