View source: R/plot_canonical.R
A canonical function for creating plots within evalcast
1 2 3 4 5 6 7 8 9 10 11 12 13 |
df |
dataframe containing the data to plot |
x |
Name of the variable in |
y |
name of the variable in |
facet_rows |
A variable name to facet data over. Creates a
separate row of plots for each value of specified variable. Can be used
with |
facet_cols |
Same as |
grp_vars |
The set of variable names in |
aggr |
function to use to aggregate data over |
dots |
when set to TRUE, a dot layer is included in the plot |
lines |
when set to TRUE, a line layer is included in the plot |
base_forecaster |
If set, scales the y-value for all forecasters by
the corresponding values of the |
scale_before_aggr |
If TRUE, scales results by the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.