Destination-Focused: Modality Balance
Source:R/indicator_destination_modality_balance.R
indicator_destination_modality_balance.RdCalculates the share of cash or voucher-based programming (CTP) relative to all modalities within each destination.
Value
A list with a tibble with destination and Destination_Modality_Balance
(0–1 share of CTP) and a plot.
Details
Goal: Measures the balance between cash-based programming and traditional modalities, based on the method variable.
Examples
result <- indicator_destination_modality_balance(flows)
print(result$plot)
#> `stat_bin()` using `bins = 30`. Pick better value `binwidth`.