Skip to content

Compositional

Compositional Data Analysis

v8.1 · Feb 17, 2026 · GPL (>= 2)

Description

Regression, classification, contour plots, hypothesis testing and fitting of distributions for compositional data are some of the functions included. We further include functions for percentages (or proportions). The standard textbook for such data is John Aitchison's (1986) "The statistical analysis of compositional data". Relevant papers include: a) Tsagris M.T., Preston S. and Wood A.T.A. (2011). "A data-based power transformation for compositional data". Fourth International International Workshop on Compositional Data Analysis. <doi:10.48550/arXiv.1106.1451>. b) Tsagris M. (2014). "The k-NN algorithm for compositional data: a revised approach with and without zero values present". Journal of Data Science, 12(3): 519--534. <doi:10.6339/JDS.201407_12(3).0008>. c) Tsagris M. (2015). "A novel, divergence based, regression for compositional data". Proceedings of the 28th Panhellenic Statistics Conference, 15-18 April 2015, Athens, Greece, 430--444. <doi:10.48550/arXiv.1511.07600>. d) Tsagris M. (2015). "Regression analysis with compositional data containing zero values". Chilean Journal of Statistics, 6(2): 47--57. <https://soche.cl/chjs/volumes/06/02/Tsagris(2015).pdf>. e) Tsagris M., Preston S. and Wood A.T.A. (2016). "Improved supervised classification for compositional data using the alpha-transformation". Journal of Classification, 33(2): 243--261. <doi:10.1007/s00357-016-9207-5>. f) Tsagris M., Preston S. and Wood A.T.A. (2017). "Nonparametric hypothesis testing for equality of means on the simplex". Journal of Statistical Computation and Simulation, 87(2): 406--422. <doi:10.1080/00949655.2016.1216554>. g) Tsagris M. and Stewart C. (2018). "A Dirichlet regression model for compositional data with zeros". Lobachevskii Journal of Mathematics, 39(3): 398--412. <doi:10.1134/S1995080218030198>. h) Alenazi A. (2019). "Regression for compositional data with compositional data as predictor variables with or without zero values". Journal of Data Science, 17(1): 219--238. <doi:10.6339/JDS.201901_17(1).0010>. i) Tsagris M. and Stewart C. (2020). "A folded model for compositional data analysis". Australian and New Zealand Journal of Statistics, 62(2): 249--277. <doi:10.1111/anzs.12289>. j) Alenazi A.A. (2022). "f-divergence regression models for compositional data". Pakistan Journal of Statistics and Operation Research, 18(4): 867--882. <doi:10.18187/pjsor.v18i4.3969>. k) Tsagris M. and Stewart C. (2022). "A Review of Flexible Transformations for Modeling Compositional Data". In Advances and Innovations in Statistics and Data Science, pp. 225--234. <doi:10.1007/978-3-031-08329-7_10>. l) Alenazi A. (2023). "A review of compositional data analysis and recent advances". Communications in Statistics--Theory and Methods, 52(16): 5535--5567. <doi:10.1080/03610926.2021.2014890>. m) Tsagris M., Alenazi A. and Stewart C. (2023). "Flexible non-parametric regression models for compositional response data with zeros". Statistics and Computing, 33(106). <doi:10.1007/s11222-023-10277-5>. n) Tsagris. M. (2025). "Constrained least squares simplicial-simplicial regression". Statistics and Computing, 35(27). <doi:10.1007/s11222-024-10560-z>. o) Sevinc V. and Tsagris. M. (2025). "Energy Based Equality of Distributions Testing for Compositional Data". <doi:10.48550/arXiv.2412.05199>. p) Tsagris M. and Alzeley O. (2025). "Scalable approximation of the transformation-free linear simplicial-simplicial regression via constrained iterative reweighted least squares". <doi:10.48550/arXiv.2511.13296>.

Downloads

1.3K

Last 30 days

3326th

4K

Last 90 days

17.4K

Last year

Trend: -16.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (9)

Dependency Network

Dependencies Reverse dependencies bigstatsr cluster emplik energy glmnet quantreg MASS Matrix mda minpack.lm mixture nnet osqp quadprog Rfast +4 more dependencies CompositionalClust CompositionalHDDA CompositionalML CompositionalNAimp CompositionalRF CompositionalSR MLE QFASA nnmf Compositional

Version History

new 8.1 Mar 10, 2026
updated 8.1 ← 8.0 diff Feb 16, 2026
updated 8.0 ← 7.9 diff Dec 3, 2025
updated 7.9 ← 7.8 diff Nov 17, 2025
updated 7.8 ← 7.7 diff Sep 16, 2025
updated 7.7 ← 7.6 diff Aug 17, 2025
updated 7.6 ← 7.5 diff Jun 21, 2025
updated 7.5 ← 7.3 diff Jun 12, 2025
updated 7.3 ← 7.2 diff Jan 12, 2025
updated 7.2 ← 7.1 diff Dec 3, 2024
updated 7.1 ← 7.0 diff Oct 8, 2024
updated 7.0 ← 6.9 diff Aug 22, 2024
updated 6.9 ← 6.8 diff Jul 7, 2024
updated 6.8 ← 6.7 diff Mar 31, 2024
updated 6.7 ← 6.6 diff Feb 28, 2024
updated 6.6 ← 6.5 diff Dec 8, 2023
updated 6.5 ← 6.4 diff Oct 22, 2023
updated 6.4 ← 6.3 diff Sep 14, 2023
updated 6.3 ← 6.2 diff Jun 28, 2023
updated 6.2 ← 6.1 diff Mar 12, 2023