View source: R/herfindahl_hirschman_index.R
Herfindahl Hirschman Index table
1 2 3 4 5 6 | herfindahl_hirschman_index_table(
df,
df_column = "DATA",
total_observations,
simplfy = T
)
|
df |
Frequency tables for variables (nested tibble) |
df_column |
Nested tibble column name (Default is DATA) |
total_observations |
The column name of total observations variable. (character) |
simplfy |
if is TRUE, return only HHI value, otherwise detail. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.