concstats_all_comp {concstats} | R Documentation |
A wrapper for the proposed concentration measures
Description
A wrapper for the proposed concentration measures
Usage
concstats_all_comp(x, normalized = FALSE, na.rm = TRUE, digits = NULL)
Arguments
x |
A non-negative numeric vector. |
normalized |
Logical. Argument specifying whether or not a normalized
value is required. Must be either |
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 |
Details
concstats_all_comp
returns all proposed group measures in a one step
procedure with default settings if not otherwise specified.
Value
A data.frame
.
See Also
concstats_all_mstruct()
, concstats_all_inequ()
Examples
# a vector of market shares
x <- c(0.35, 0.4, 0.05, 0.1, 0.06, 0.04)
concstats_all_comp(x, digits = 2)