plot.casestudy {scoringRules} | R Documentation |
Plot the output of run_casestudy
Description
Plot the output of run_casestudy
Usage
## S3 method for class 'casestudy'
plot(x, ...)
Arguments
x |
object of class |
... |
additional parameters, see details below. |
Details
The plot is in the same format as Figure 3 in KLTG (2021). Its content (nr of MCMC chains,
maximal sample size, etc) depends on the parameters used to generate run_casestudy. In terms of
additional inputs (...
), the following are currently implemented:
-
scoring_rule
, the scoring rule for which results are to be plotted, either"crps"
or"logs"
. Defaults to"crps"
. -
add_main_title
, logical, whether to add main title to plot. Defaults toTRUE
.
Value
none, used for the effect of drawing a plot.
Author(s)
Fabian Krueger
References
Krueger, F., Lerch, S., Thorarinsdottir, T.L. and T. Gneiting (2021): ‘Predictive inference based on Markov chain Monte Carlo output’, International Statistical Review 89, 274-301. doi:10.1111/insr.12405
See Also
run_casestudy produces the forecast results summarized by plot.casestudy