concstats_top5 | R Documentation |
Top 5 market share
concstats_top5(x, na.rm = TRUE)
x |
A non-negative numeric vector. |
na.rm |
A logical vector that indicates whether |
A positive numeric value, which indicates the sum of the top 5 market shares as a percentage.
# a vector of market shares
x <- c(0.4, 0.2, 0.25, 0.1, 0.05)
concstats_top5(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.