herfindahl_hirschman_index: Herfindahl Hirschman Index

Description Usage Arguments

View source: R/herfindahl_hirschman_index.R

Description

Herfindahl Hirschman Index

Usage

1
herfindahl_hirschman_index(df, total_observations, trace = F, simplfy = T)

Arguments

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)


toygur/tidycreditrisk documentation built on May 29, 2020, 12:50 a.m.