A wrapper for the proposed inequality measures
Arguments
- x
A non-negative numeric vector.
- normalized
Logical. Argument specifying whether or not a normalized value is required. Must be either
TRUE
orFALSE
. The default isFALSE
.- na.rm
A logical vector that indicates whether
NA
values should be excluded or not. Must be eitherTRUE
orFALSE
. The default isFALSE
. If set toFALSE
the computation yieldsNA
ifNA
values are present.- digits
A non-null value for digits specifies the minimum number of significant digits to be printed in values. The default is
NULL
and will use base R print option. Significant digits defaults to 7.
Details
concstats_all_inequ
returns all proposed group measures in a one step
procedure with default settings if not otherwise specified.
See also
concstats_all_mstruct()
, concstats_all_comp()
Other Concentration and inequality measures:
concstats_entropy()
,
concstats_gini()
,
concstats_grs()
,
concstats_inequ()
,
concstats_palma()
,
concstats_simpson()
Examples
# a vector of market shares
x <- c(0.35, 0.4, 0.05, 0.1, 0.06, 0.04)
concstats_all_inequ(x, digits = 2)
#> Measure Value
#> 1 Entropy 2.04
#> 2 Gini Index 0.46
#> 3 Simpson Index 0.70
#> 4 Palma Ratio 2.67
#> 5 GRS 0.40