View source: R/header_replication.R
plot.mcstudy | R Documentation |
Plot the output of run_mcstudy
## S3 method for class 'mcstudy'
plot(x, ...)
x |
object of class |
... |
additional parameters, see details below. |
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 to TRUE
.
none, used for the effect of drawing a plot.
Fabian Krueger
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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/insr.12405")}
run_mcstudy produces the simulation results summarized by plot.mcstudy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.