https://cran.r-project.org/web/packages/ade4/ade4.pdf
