Calculate difference between scenarios or time periods
calculate_diff(
data = NULL,
scenRef = NULL,
scenDiff = NULL,
xRef = NULL,
xDiff = NULL,
diff_type = "both",
diff_type_x = "both",
diff_text_percent = "diffPrcnt",
diff_text_absolute = "diffAbs",
diff_text_percent_x = "xdiffPrcnt",
diff_text_absolute_x = "xdiffAbs"
)
Default = NULL.
Default = NULL. Reference Scenario
Default = NULL. Difference Scenarios
Default = NULL. Reference x
Default = NULL. Difference x
Default = "both". One of "absolute", "percent", "both".
Default = "both". One of "absolute", "percent", "both".
Default = "_diffPrcnt"
Default = "_diffAbs"
Default = "_xdiffPrcnt"
Default = "_xdiffAbs"