Trim values
Arguments
- df
Data frame in long format, where 1 row corresponds to a specific country, year, and indicator.
- trim_years
logical to indicate if years before
start_year
and afterend_year
should be removed- start_year
Start year for scenario, defaults to 2018.
- end_year
End year for scenario, defaults to 2025
See also
General scenario functions
add_scenario()
,
calculate_aarc()
,
calculate_aroc()
,
exec_scenario()
,
fill_cols_scenario()
,
flat_extrapolation()
,
get_aarr()
,
get_baseline_value()
,
get_baseline_year()
,
get_last_value()
,
get_last_year_scenario()
,
get_latest_aarc()
,
get_percent_change_aarc()
,
get_target_aarc()
,
remove_unwanted_scenarios()
,
trim_values()