hhi: 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) <doi:10.21105/joss.00828>.

Getting started

Package details

AuthorPhilip D. Waggoner <pdwaggoner@wm.edu>
MaintainerPhilip D. Waggoner <pdwaggoner@wm.edu>
LicenseMIT + file LICENSE
Version1.2.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("hhi")

Try the hhi package in your browser

Any scripts or data that you put into this service are public.

hhi documentation built on May 2, 2019, 10:22 a.m.