A wrapper for the proposed structural measures
Arguments
- x
A non-negative numeric vector.
- na.rm
A logical vector that indicates whether
NAvalues should be excluded or not. Must be eitherTRUEorFALSE. The default isTRUE. If set toFALSEthe computation yieldsNAif the vector containsNAvalues.- digits
An optional value for digits. Specifies the minimum number of significant digits to be printed in values. The default is
NULLand will use base R print option.
Details
concstats_all_mstruct returns all proposed group measures in a
one step procedure with default settings if not otherwise specified.
See also
concstats_all_comp(), concstats_all_inequ()
Other Market structure measures:
concstats_firm(),
concstats_mstruct(),
concstats_nrs_eq(),
concstats_top(),
concstats_top3(),
concstats_top3_df(),
concstats_top5(),
concstats_top5_df(),
concstats_top_df()
Examples
# a vector of market shares
x <- c(0.4, 0.2, 0.25, 0.1, 0.05)
concstats_all_mstruct(x, digits = 2)
#> Measure Value
#> 1 Firms 5.0
#> 2 Nrs_equivalent 3.6
#> 3 Top (%) 40.0
#> 4 Top3 (%) 85.0
#> 5 Top5 (%) 100.0
