concstats_top3 {concstats} | R Documentation |
Top 3 market share
Description
Top 3 market share
Usage
concstats_top3(x, na.rm = TRUE)
Arguments
x |
A non-negative numeric vector. |
na.rm |
A logical vector that indicates whether |
Value
A positive numeric value, which indicates the sum of the top 3 market shares as a percentage.
Examples
# a vector of market shares
x <- c(0.4, 0.2, 0.25, 0.1, 0.05)
concstats_top3(x)
[Package concstats version 0.1.6 Index]