Number of firms
Arguments
- x
A non-negative numeric vector.
- na.rm
Logical vector that indicates whether
NA
values should be excluded or not. Must be eitherTRUE
orFALSE
. The default isTRUE
. If set toFALSE
the computation yieldsNA
if the vector containsNA
values.
See also
Other Market structure measures:
concstats_all_mstruct()
,
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_firm(x)
#> [1] 5