Multivariate Data Analysis for Chemometrics

Projection based methods for preprocessing, exploring and analysis of multivariate data used in chemometrics. S. Kucheryavskiy (2020) .


Multivariate Data Analysis Tools

GitHub build status GitHub All Releases Downloads (CRAN)

mdatools is an R package for preprocessing, exploring and analysis of multivariate data. The package provides methods mostly common for Chemometrics. It was created for an introductory PhD course on Chemometrics given at Section of Chemical Engineering, Aalborg University. The general idea of the package is to collect most widespread chemometric methods and give a similar "user interface" (or rather API) for using them. So if a user knows how to make a model and visualize results for one method, he or she can easily do this for the others.

For more details and examples read a Bookdown tutorial. The project website, mda.tools, contains additional information about supplementary materials and tools.

You can also take video-lectures from YouTube channel devoted to introductory Chemometric course I give to master students. The lectures explain theory behind basic Chemometric methods but also show how to use them in mdatools.

If you want to cite the package, please use the following: Sergey Kucheryavskiy, mdatools – R package for chemometrics, Chemometrics and Intelligent Laboratory Systems, Volume 198, 2020 (DOI: 10.1016/j.chemolab.2020.103937).

What is new

Latest release (0.16.0, June 2026) is available both from GitHub and CRAN. You can see the full list of changes here. The Bookdown tutorial has been also updated and contains the description of new methods added in the last release.

How to install

The package is available on CRAN, to install it just use:

install.packages("mdatools")

This is the recommended way to install the package. If you have installed it already and just want to update to the newest version, use:

update.packages("mdatools")

If you want to install it directly from GitHub, the easiest way is to install the devtools package first and then run the following command in R:

devtools::install_github("svkucheryavski/mdatools")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mdatools")

0.16.0 by Sergey Kucheryavskiy, 4 months ago


https://mda.tools


Report a bug at https://github.com/svkucheryavski/mdatools/issues


Browse source code at https://github.com/cran/mdatools


Authors: Sergey Kucheryavskiy [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods, graphics, grDevices, stats, spam, pcv

Suggests testthat


Imported by windows.pls.


See at CRAN