Calculate and Visualize the Herfindahl-Hirschman Index

Based on the aggregated shares retained by individual firms or actors within a market or space, the Herfindahl-Hirschman Index (HHI) measures the level of concentration in a space. This package allows for intuitive and straightforward computation of HHI scores, requiring placement of objects of interest directly into the function. The package also includes a plot function for quick visual display of an HHI time series using any measure of time (year, quarter, month, etc.). For usage, please cite the Journal of Open Source Software paper associated with the package: Waggoner, Philip D. (2018) .


title: "" author: "Philip D. Waggoner" date: "8/16/2018" output: html_document

hhi 1.2.0

Calculate and Visualize the Herfindahl-Hirschman Index


  • Added the Journal of Open Source Software citation for the paper associated with this package.

  • Streamlined a portion of the code for quicker and more efficient running.

  • Cleaned up the description.

  • Updated author affiliation.

How do I get hhi?

The package is released on CRAN. If you have any questions or find any bugs requiring fixing, please feel free to contact me either directly (see the DESCRIPTION file for more) or by opening a ticket on GitHub. Thanks and enjoy!

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.0 by Philip D. Waggoner, 6 months ago

Browse source code at

Authors: Philip D. Waggoner <[email protected]>

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports ggplot2

See at CRAN