| concstats_top3_df | R Documentation |
Top market share data frame
concstats_top3_df(x, y, digits = NULL)
x |
A data frame or tibble. |
y |
A non-negative vector of shares. All integers (e.g. sales) are converted to relative decimal numbers. |
digits |
An optional value for digits. Specifies the minimum number of
significant digits to be printed in values. The default is |
A data frame.
Note that the first column in your data frame will be the index and values should be unique.
Other Market structure measures:
concstats_all_mstruct(),
concstats_firm(),
concstats_mstruct(),
concstats_nrs_eq(),
concstats_top(),
concstats_top3(),
concstats_top5(),
concstats_top5_df(),
concstats_top_df()
x <- data.frame(
firm = c("A", "B", "C", "D", "E"),
share = c(0.2,0.25,0.1,0.05,0.4)
)
concstats_top3_df(x, "share", digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.