Skip to content

concstats

0.1.6

Market Structure, Concentration and Inequality Measures

0packages depend
2.7Kdownloads / year
93.5%test coverage
0/13checks pass

Overview

About
Maintained by Andreas SchneiderFirst published 2022-05-053 releasesCRAN page ↗GitHub ↗

Based on individual market shares of all participants in a market or space, the package offers a set of different structural and concentration measures frequently - and not so frequently - used in research and in practice. Measures can be calculated in groups or individually. The calculated measure or the resulting vector in table format should help practitioners make more informed decisions. Methods used in this package are from: 1. Chang, E. J., Guerra, S. M., de Souza Penaloza, R. A. & Tabak, B. M. (2005) "Banking concentration: the Brazilian case". 2. Cobham, A. and A. Summer (2013). "Is It All About the Tails? The Palma Measure of Income Inequality". 3. Garcia Alba Idunate, P. (1994). "Un Indice de dominancia para el analisis de la estructura de los mercados". 4. Ginevicius, R. and S. Cirba (2009). "Additive measurement of market concentration" doi:10.3846/1611-1699.2009.10.191-198. 5. Herfindahl, O. C. (1950), "Concentration in the steel industry" (PhD thesis). 6. Hirschmann, A. O. (1945), "National power and structure of foreign trade". 7. Melnik, A., O. Shy, and R. Stenbacka (2008), "Assessing market dominance" doi:10.1016/j.jebo.2008.03.010. 8. Palma, J. G. (2006). "Globalizing Inequality: 'Centrifugal' and 'Centripetal' Forces at Work". 9. Shannon, C. E. (1948). "A Mathematical Theory of Communication". 10. Simpson, E. H. (1949). "Measurement of Diversity" doi:10.1038/163688a0.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.95
93.5%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 904 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
100%
References docs
35%

Downloads

2.7K
CRAN downloads in the past year
Rank #15,575 · ~7/day · ~221/mo
Daily download trend is not available in this view yet.
27630 days
69390 days
2.7K1 year
Compare downloads with other packages →
Also on109 r2u30 autocran

Repository

Repository
7Stars
1Forks
2Open issues
0Open PRs
5Releases
236Commits
2Contributors
package-developmentrconcentrationdiversitybusiness-analyticscompetitioninequalityr-package
236 commits · Last activity 2025-07-18

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/ropensci/concstats on 2026-07-30.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Reviewers (2)
Reviewer · added in 0.1.6
Reviewer · added in 0.1.6
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
  • 0.1.6Latest
    2023-03-30 · current release · diff ↗
  • 0.1.2
    2022-05-15 · diff ↗
  • 0.1.0
    2022-05-05
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-05
Total releases
3 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
1.3 KB / 1 file
Download size
699 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →