| concstats_hhi_min | R Documentation |
Minimum of Herfindahl-Hirschman Index
concstats_hhi_min(x, na.rm = TRUE, digits = NULL)
x |
A non-negative numeric vector. |
na.rm |
A logical vector that indicates whether |
digits |
A non-null value for digits specifies the minimum number of
significant digits to be printed in values. The default is |
Calculates the minimum of the Herfindahl-Hirschman index, that is, the equivalent of all participants in the market with equal market shares.
A single numeric measure in decimal form.
Other Competition/Concentration measures:
concstats_all_comp(),
concstats_comp(),
concstats_dom(),
concstats_hhi(),
concstats_hhi_d(),
concstats_sten()
# a vector of market shares
x <- c(0.35, 0.4, 0.05, 0.1, 0.06, 0.04)
concstats_hhi_min(x, digits = 2)
# a vector with NA values
x <- c(0.4, 0.2, 0.25, 0.1, 0.05, NA)
concstats_hhi_min(x, na.rm = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.