Provides tools to visualize ordination results in 'R' by adding covariance-based ellipses, centroids, vectors, and confidence regions to plots created with 'ggplot2'. The package extends the 'vegan' framework and supports Principal Component Analysis (PCA), Redundancy Analysis (RDA), and Non-metric Multidimensional Scaling (NMDS). Ellipses can represent either group dispersion (standard deviation, SD) or centroid precision (standard error, SE), following Wang et al. (2015) <doi:10.1371/journal.pone.0118537>. Robust estimators of covariance are implemented, including the Minimum Covariance Determinant (MCD) method of Hubert et al. (2018) <doi:10.1002/wics.1421>. This approach reduces the influence of outliers. barrel is particularly useful for multivariate ecological datasets, promoting reproducible, publication-quality ordination graphics with minimal effort.
| Version: | 0.1.0 |
| Imports: | robustbase, ggplot2, stats, ggrepel, vegan, grid, rlang |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), vdiffr |
| Published: | 2025-11-03 |
| DOI: | 10.32614/CRAN.package.barrel |
| Author: | Diego Barranco-Elena [aut, cre] |
| Maintainer: | Diego Barranco-Elena <diego.barranco at udl.cat> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | barrel results |
| Reference manual: | barrel.html , barrel.pdf |
| Vignettes: |
Visualizing Ordinations with barrel (source) |
| Package source: | barrel_0.1.0.tar.gz |
| Windows binaries: | r-devel: barrel_0.1.0.zip, r-release: barrel_0.1.0.zip, r-oldrel: barrel_0.1.0.zip |
| macOS binaries: | r-release (arm64): barrel_0.1.0.tgz, r-oldrel (arm64): barrel_0.1.0.tgz, r-release (x86_64): barrel_0.1.0.tgz, r-oldrel (x86_64): barrel_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=barrel to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.