View source: R/evaluation_functions.R
Plot PIT histogram for a single single and forecast method
1 2 | plot_PIT_histogram(fc, tel, sun_up, nbins, site, res, method,
output_directory, R_graph_export)
|
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 |
sun_up |
Logical vector of whether sun is up across the forecast times |
nbins |
The number of histogram bins to use. Must be a factor of length(percentiles)+1 to make use of available fc format. |
site |
Site name, for naming output file |
res |
Temporal resolution, for naming output file |
method |
Forecast method name, for naming output file |
output_directory |
Directory to save graphs |
R_graph_export |
Boolean, whether to save a .R object of the plot as well |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.