View source: R/herfindahl_hirschman_index.R
Herfindahl Hirschman Index
1 | herfindahl_hirschman_index(df, total_observations, trace = F, simplfy = T)
|
df |
A data.frame (tibble) |
total_observations |
The column name of total observations variable. (character) |
trace |
show total HHI score (logical, Default is FALSE) |
simplfy |
if is TRUE, return only tibble, otherwise return list (logical, Default is TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.