Skip to content

robCompositions

2.6.0Package record

Compositional Data Analysis

3packages dependsuggested by 2
19.2Kdownloads / year
6.7%test coverage
13/13flavors OK

Overview

About

Methods for analysis of compositional data including robust methods (doi:10.1007/978-3-319-96422-5), imputation of missing values (doi:10.1016/j.csda.2009.11.023), methods to replace rounded zeros (doi:10.1080/02664763.2017.1410524, doi:10.1016/j.chemolab.2016.04.011, doi:10.1016/j.csda.2012.02.012), count zeros (doi:10.1177/1471082X14535524), methods to deal with essential zeros (doi:10.1080/02664763.2016.1182135), (robust) outlier detection for compositional data, (robust) principal component analysis for compositional data, (robust) factor analysis for compositional data, (robust) discriminant analysis for compositional data (Fisher rule), robust regression with compositional predictors, functional data analysis (doi:10.1016/j.csda.2015.07.007) and p-splines (doi:10.1016/j.csda.2015.07.007), contingency (doi:10.1080/03610926.2013.824980) and compositional tables (doi:10.1111/sjos.12326, doi:10.1111/sjos.12223, doi:10.1080/02664763.2013.856871) and (robust) Anderson-Darling normality tests for compositional data as well as popular log-ratio transformations (addLR, cenLR, isomLR, and their inverse transformations). In addition, visualisation and diagnostic tools are implemented as well as high and low-level plot functions for the ternary diagram.

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-17
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
Show 3 earlier changesHide 3 earlier changes
  • NOTE10 OK, 4 NOTE2026-04-22
  • ERROR9 OK, 4 NOTE, 1 ERROR2026-04-18
  • NOTE10 OK, 4 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.6.0
READMEYes · 286 wordsVignettesYes · 2 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
145includes a package overview page
Examples that run
94%133 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run · 2 hold no code
Exported functions with examples
99%
Documented parameters
99%
Return-value docs
96%
Help pages citing references
69%

Downloads

19.2K
CRAN downloads in the past year
Rank #3,454 · ~53/day · ~1.6K/mo
Daily download trend is not available in this view yet.
1.1K30 days
3.1K90 days
19.2K1 year
Compare downloads with other packages →
Also on551 r2u8 autocran7K conda_forge155 c2d4u

Repository

12Stars
11Forks
9Open issues
2Open PRs
0Releases
303Commits
12Commit identities
303 commits · Last activity 2026-06-08 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-11 · 122026-07-07 · 12
PracticesBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/matthias-da/robcompositions on 2026-10-11.

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-03-16
    Named in .Rbuildignore: .claude, CLAUDE.md
    Commits: at least 3 crediting it in the message
Models named in its commits
  • Claude Opus 4.63 commits · Mar 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
28 external dependencies (excludes base and recommended)

Installing robCompositions adds 76 packages (48 with compiled code, 85 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (16)
Author, Maintainer since 1.0.1 (2009)
Author
Contributor · added in 2.0.7
Contributor · added in 2.2.0
Contributor · added in 2.1.0
Contributor · added in 2.0.7
Contributor · added in 2.2.0
Contributor · added in 2.2.1
Contributor · added in 2.0.9
Contributor · added in 2.2.0
Show 5 more contributorsHide 5 contributors
Contributor · added in 2.0.7
Contributor · added in 2.3.1
Contributor · added in 2.0.7
Contributor · added in 2.4.1
Contributor · added in 2.2.0
Releases (46)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-09-20
  • archivedRemoved from CRAN
    2021-07-17
    requires archived package 'sROC'
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-02-07 · current release · diff ↗
Show 54 earlier eventsHide 54 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • 2.15.3
    record
    2013-02-27 · diff ↗
  • 2.15.1
    record
    2012-05-15 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 2.13.1
    record
    2011-05-04 · diff ↗ ·
    removed 1 export
    alrEM
    added 3 exports
    impRZalr, impRZilr, robGUI
  • R
    R 2.13.0 released · 2011-04-13
  • 2.12.2
    record
    2011-01-10 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 2.12.0
    record
    2010-08-16 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 2.10.1
    record
    2009-12-11 · diff ↗ ·
    removed 9 exports
    print.adtestWrapper, summary.adtestWrapper, print.imp, summary.imp, plot.imp, print.outCoDa, plot.outCoDa, print.pcaCoDa, plot.pcaCoDa
    added 2 exports
    daFisher, ternaryDiag
  • R
    R 2.10.0 released · 2009-10-26
  • 2.10.0
    record
    2009-04-29 · diff ↗ ·
    added 11 exports
    adtest, adtestWrapper, print.adtestWrapper, summary.adtestWrapper, outCoDa, print.outCoDa, plot.outCoDa, print.pcaCoDa, pcaCoDa, plot.pcaCoDa, pfa
  • R
    R 2.9.0 released · 2009-04-17
  • 2.9.0
    record
    2009-03-06 · diff ↗
  • 2.8.1
    record
    2008-12-15 · diff ↗ ·
    added 10 exports
    adjust, aDist, ilr, impCoda, impKNNa, invilr, robVariation, print.imp, summary.imp, plot.imp
  • 2.6.0
    record
    2026-06-15 · diff ↗ ·
    added 4 exports
    cellNetCoDa, cellPcaCoDa, contaminate_simplex, imputeBDL
  • 2.4.2
    record
    2025-08-22 · diff ↗ ·
    added 2 exports
    pls_pb, spca_logrs
  • 2.4.1
    record
    2023-08-25 · diff ↗ ·
    added 8 exports
    bpc, bpcPca, bpcPcaTab, bpcReg, bpcRegTab, bpcTab, bpcTabWrapper, norm1
  • 2.3.1
    record
    2021-09-20 · diff ↗ ·
    added 1 export
    weightedPivotCoord
  • 2.3.0
    record
    2020-11-18 · diff ↗ ·
    added 7 exports
    ZBsplineBasis, compositionalSpline, fcenLR, fcenLRinv, fcenLRp, fcenLRu, trapzc
  • 2.2.1
    record
    2020-02-11 · diff ↗
  • 2.2.0
    record
    2020-01-14 · diff ↗ ·
    added 3 exports
    is.equivalent, smoothSplines, smoothSplinesVal
  • 2.1.0
    record
    2020-01-29 · diff ↗ ·
    added 4 exports
    cubeCoord, cubeCoordWrapper, tabCoord, tabCoordWrapper
  • 2.0.10
    record
    2019-02-19 · diff ↗
  • 2.0.9
    record
    2018-11-08 · diff ↗ ·
    added 1 export
    imputeUDLs
  • 2.0.8
    record
    2018-05-29 · diff ↗
  • 2.0.7
    record
    2018-04-08 · diff ↗
  • 2.0.6
    record
    2017-08-14 · diff ↗
  • 2.0.5
    record
    2017-07-12 · diff ↗ ·
    added 16 exports
    SDev, ced, coord, gmean, gmean_sum, ilr.2x2, ind2x2, indTab, int2x2, intArray, intTab, pTab, rSDev, rSDev.test, rdcm, stats
  • 2.0.3
    record
    2017-01-12 · diff ↗ ·
    added 7 exports
    balances, biomarker, iprod, perturbation, pivotCoord, pivotCoordInv, powering
  • 2.0.2
    record
    2016-08-22 · diff ↗ ·
    added 6 exports
    clustCoDa, clustCoDa_qmode, corCoDa, daCoDa, isomLRinvp, isomLRp
  • 2.0.0
    record
    2016-02-08 · diff ↗ ·
    removed 2 exports
    robVariation, ternaryDiagLines
    added 6 exports
    adjustImputed, checkData, compareMahal, imputeBDLs, variation, zeroOut
  • 1.9.1
    record
    2015-05-06 · diff ↗ ·
    added 1 export
    bootnComp
  • 1.9.0
    record
    2014-08-18 · diff ↗
  • 1.8.0
    record
    2014-03-16 · diff ↗
  • 1.7.0
    record
    2014-02-07 · diff ↗
  • 1.6.4
    record
    2013-11-26 · diff ↗ ·
    removed 6 exports
    alr, ilr, clr, invalr, invclr, invilr
  • 1.6.3
    record
    2013-02-27 · diff ↗ ·
    removed 1 export
    robGUI
    added 1 export
    impAll
  • 1.6.2
    record
    2013-01-11 · diff ↗ ·
    added 11 exports
    addLR, addLRinv, cenLR, cenLRinv, gm, isomLR, isomLRinv, lmCoDaX, missPatterns, zeroPatterns, orthbasis
  • 1.6.0
    record
    2012-05-15 · diff ↗ ·
    added 4 exports
    ternaryDiagPoints, ternaryDiagLines, ternaryDiagAbline, ternaryDiagEllipse
  • 1.5.0
    record
    2011-05-06 · diff ↗
  • 1.4.4
    record
    2011-01-11 · diff ↗
  • 1.4.3
    record
    2010-08-16 · diff ↗
  • 1.4.2
    record
    2010-07-05 · diff ↗
  • 1.4.1
    record
    2010-06-21 · diff ↗
  • 1.4.0
    record
    2010-04-06 · diff ↗
  • 1.3.3
    record
    2010-01-18 · diff ↗
  • 1.3.2
    record
    2009-11-29 · diff ↗ ·
    added 5 exports
    alr, clr, constSum, invalr, invclr
  • 1.2.2
    record
    2009-05-08 · diff ↗
  • 1.2
    record
    2009-03-06 · diff ↗ ·
    added 1 export
    alrEM
  • 1.0.1
    record
    2009-01-20
  • R
    R 2.8.0 released · 2008-10-20

Package metadata

First published
2008-12-15
Total releases
46 / 18 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
1.0 MB / 50 files
Download size
1.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("robCompositions")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for robCompositions version 2.6.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy