View source: R/utils-scenarios.R
fill_cols_scenario | R Documentation |
values
when cols
are missing values.Infills scenarios with values
when cols
are missing values.
fill_cols_scenario(
df,
scenario_col = "scenario",
cols = list("type", "source", "use_dash", "use_calc"),
values = list("projected", NULL, TRUE, TRUE)
)
df |
(data.frame) containing the data |
scenario_col |
Column name of column with scenario identifiers. |
cols |
(list) of columns to be infilled |
values |
(list) of values to infill with. |
General scenario functions
add_scenario()
,
calculate_aarc()
,
calculate_aroc()
,
exec_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()
,
trim_years()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.