Used to add missing data to input files and customize format
chart(
data = NULL,
col_agg = "class",
chart_type = "all",
aspect_ratio = 0.75,
size = 0.75,
size_text = 15,
theme = NULL,
ncol = NULL,
scales = "free_y",
save = TRUE,
show = FALSE,
title = TRUE,
folder = getwd(),
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",
width = NULL,
height = NULL,
append = "",
break_interval = NULL,
include_points = FALSE,
summary_line = FALSE,
waterfall_x = NULL,
palette = NULL,
interaction_col_lty = NULL,
interaction_col_color = NULL
)
Default = NULL. Dataframe to test and convert.
Default = "class". Column to remove and then aggregate by.
Default = "all". Choices one or more of "all", "param_absolute", "class_absolute", "param_diff_absolute", "class_diff_absolute", "param_diff_percent", "class_diff_percent", "region_absolute"
Default = 0.75. aspect ratio
Default = 1.5. line size
Default = 15. Text size
Default = NULL.
Default = 3. Number of columns.
Default = "free". Choose between "free", "free_y", "free_x", "fixed"
Default = TRUE. Save plots.
Default = FALSE. Whether to show figure outputs in console.
Default = TRUE. Used for region or subRegions or to add title to all plots.
Default = getwd().
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"
Default = NULL
Default = NULL
Default = ""
Default = NULL. Intervals between x breaks starting from first x point.
Default = FALSE. Add data points to all line charts.
Default = FALSE. Add parameter summary line to all bar charts.
Default = NULL. Year (or x value) for which to make waterfall plot. If NULL, latest year will be used
Default = NULL. Named vector with custom palette colors (can include classes, regions, and/or scenarios)
Default = NULL. Column to use for interaction plot linetype.
Default = NULL. Column to use for interaction plot color.