View source: R/evaluation_functions.R
Plot a fan plot comparing the forecast quantiles to the telemetry
1 2 | plot_fanplot(fc, tel, window, ts_per_hour, output_directory, site, res,
method, R_graph_export, ymax = 1200)
|
fc |
A [valid time x quantile] matrix of probabilistic quantile forecasts, with column names giving the [0,1] percentiles of the forecast |
tel |
A vector of the telemetry values |
window |
A (min, max) vector of time indices, corresponding to the rows of fc to plot |
ts_per_hour |
Time-steps per hour |
output_directory |
Directory to save graphs |
site |
Site name, for naming output file |
res |
Temporal resolution, for naming output file |
method |
Forecast method name, for naming output file |
R_graph_export |
Boolean, whether to save a .R object of the plot as well |
ymax |
Y-axis maximum value (defaults to 1200 W/m^2) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.