Donor→Destination: Portfolio Concentration Index
Source:R/indicator_donor_destination_concentration.R
indicator_donor_destination_concentration.RdComputes how concentrated a donor's funding portfolio is across destinations, using the Herfindahl–Hirschman Index (sum of squared funding shares).
Value
A list with a tibble with donor, DonorDestination_Concentration_Index
(0=diverse, 1=concentrated) and a plot.
Details
Goal: Quantifies how concentrated (vs diversified) a donor’s funding portfolio is across destinations using the Herfindahl–Hirschman Index (HHI).
Examples
result <- indicator_donor_destination_concentration(flows)
print(result$plot)
#> `stat_bin()` using `bins = 30`. Pick better value `binwidth`.