# Vis-NIR Spectral Analysis Wrapper

## Documentation for package ‘waves’ version 0.2.7

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

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
train_spectra | Train a model based predict reference values with spectral data