plot.mcstudy {scoringRules} | R Documentation |
Plot the output of run_mcstudy
Description
Plot the output of run_mcstudy
Usage
## S3 method for class 'mcstudy'
plot(x, ...)
Arguments
x |
object of class |
... |
additional parameters, see details below. |
Details
The plot is in the same format as Figure 1 or 2 in KLTG (2021), depending on the
parameters set when running run_mcstudy. These parameters also determine the plot content
(nr of MCMC chains, maximal sample size, etc). 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_mcstudy produces the simulation results summarized by plot.mcstudy