| concstats_grs | R Documentation |
GRS measure
concstats_grs(x, na.rm = TRUE, digits = NULL)
x |
A non-negative numeric vector. |
na.rm |
A logical vector that indicates whether |
digits |
An optional value for digits. Specifies the minimum number of
significant digits to be printed in values. The default is |
A single numeric value.
Ginevicius, R. and S. Cirba (2009). "Additive measurement of market concentration", Journal of Business Economics and Management, 10(3), 191-198.
Other Concentration and inequality measures:
concstats_all_inequ(),
concstats_entropy(),
concstats_gini(),
concstats_inequ(),
concstats_palma(),
concstats_simpson()
# a vector of market shares
x <- c(0.4, 0.3, 0.2, 0.1)
concstats_grs(x, digits = 3)
#[1] 0.398
# a vector with NA values
x <- c(0.4, 0.2, 0.25, 0.1, 0.05, NA)
concstats_grs(x, na.rm = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.