Destination-Focused: Funding Growth Trend
Source:R/indicator_destination_funding_trend.R
indicator_destination_funding_trend.RdComputes the slope of the linear regression of funding over time for each destination. Goal: Detects whether funding to a destination is increasing or decreasing over time.
Examples
result <- indicator_destination_funding_trend(flows)
print(result$plot)
#> `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
#> Warning: Removed 45 rows containing non-finite outside the scale range (`stat_bin()`).