Earmarking Flexibility
Source:R/indicator_destination_earmarking_flexibility.R
indicator_destination_earmarking_flexibility.RdComputes a weighted average earmarking flexibility index per destination (Unearmarked = 1.0, Softly earmarked = 0.75, Earmarked = 0.5, Tightly earmarked = 0.25).
Examples
result <- indicator_destination_earmarking_flexibility(flows)
print(result$plot)
#> `stat_bin()` using `bins = 30`. Pick better value `binwidth`.