scen_diff.RdCalculates the relative difference of the reference and the scenarios in a new column
scen_diff(data, vars_to_diff, ref)A dataframe
A vector with the names of the variables to calculate the difference
The name of the reference scenario
A dataframe with the new columns