get_costs_per_reduction_1unit: Function to get effectiveness of measures over scenarios in...

Description Usage Arguments Value Examples

View source: R/f_averaging.R

Description

This function allows comparing scenarios taking into account areas and costs of implemented measures. Output of function is how much it cost to decrease (negative values) or increase (positive values) each in parameters by one unit (either 1 kg or 1 cubic meter of water) in scenario for reach or setup or whole country.

Usage

1

Arguments

df

Data.frame of imported output.*** SWAT file processed with get_diff_from_baseline function by option of 'a' (absolute difference).

cost_list

A list of measure names and costs. Example, cost_list <- list(measure_30 = 248, measure_33 = 4, measure_34 = 2, measure_37 = 1, measure_39 = 22, measure_40 = 58)

Value

Data.frame of results showing cost-effectiveness of implementing measure in euros per one unit (1 kg or 1 cms) of reduction (negative values) or increase (positive values).

Examples

1
## result <- get_costs_per_reduction_1unit(df, cost_list)

biopsichas/swattools documentation built on May 27, 2021, 6:17 p.m.