Specialized version of [spread_weighted()] for accessibility analysis. Distributes supply-to-demand ratios across space using probability-based catchment areas to calculate accessibility scores.
Arguments
- ratios
Numeric vector, matrix, or data.frame of supply-to-demand ratios: - Vector: Must match number of weight layers - Matrix: Rows match weight layers, columns are different measures - Data.frame: Same as matrix but requires ratio_cols parameter
- weights
Multi-layer SpatRaster where each layer represents one site's probability-based catchment area
- ratio_cols
Character vector of column names if ratios is a data.frame
- full_output
Logical; whether to return intermediate calculations (default FALSE)
- plot_prefix
Character string to prepend to output names (default NULL)