Preprocessing

The package has several preprocessing methods implemented, mostly for different kinds of spectral data (but many of the methods will work with other datasets as well). All functions for preprocessing start with prefix prep., which makes them easier to find by using code completion.

Selected preprocessing methods can be combined into a sequence (preprocessing chain or preprocessing model), which can be applied to any dataset as a whole. It can also be used as part of a data model (PCA, PLS, DD-SIMCA, etc). In this case the model will apply the preprocessing methods automatically every time you use the model for prediction.

This chapter provides a brief description of the methods with several examples.