View source: R/plot_param_difference.R
plot_param_difference | R Documentation |
generate chart plot for absolute difference and percent difference
plot_param_difference(
data = NULL,
scenRef = NULL,
scenDiff = NULL,
size = 1.5,
ncol = 3,
theme = NULL,
theme_default = ggplot2::theme_bw(),
facet_label_diff = "Difference",
diff_text = NULL,
scales = "free",
break_interval = NULL,
include_points = FALSE,
palette = NULL
)
data |
Default = NULL. |
scenRef |
Default = NULL. |
scenDiff |
Default = NULL. |
size |
Default = 1.5. Line size |
ncol |
Default = 3. Number of columns. |
theme |
Default = NULL |
theme_default |
Default = ggplot2::theme_bw(). Default rchart themes. |
facet_label_diff |
Default = Difference |
diff_text |
Default = NULL. Text to remove from diff scenario names. |
scales |
Default = "free". Choose between "free", "free_y", "free_x", "fixed" |
break_interval |
Default = NULL. Intervals between x breaks starting from first x point. |
include_points |
Default = FALSE. Add data points to all line charts. |
palette |
Default = NULL. Named vector with custom palette colors (can include classes, regions, and/or scenarios; scenario colors will be used if provided) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.