plot.evmSim | R Documentation |
This function produces diagnostic plots for the Markov chains used to simulate from the posterior distributions for the model parameters. If the chains have converged on the posterior distributions, the trace plots should look like "fat hairy caterpillars" and their cumulative means should converge rapidly. Moreover, the autocorrelation functions should converge quickly to zero.
## S3 method for class 'evmSim'
plot(
x,
which.plots = 1:3,
chain = 1,
density.adjust = 2,
print.seed = FALSE,
...
)
x |
an object of class |
which.plots |
Which plots to produce. Option 1 gives kernel density estimates, 2 gives traces of the Markov chains with superimposed cumulative means, 3 gives autocorrelation functions. |
chain |
Which chain to use in the trace and ACF plots. Only used if
more than one chain was run. Defaults to |
density.adjust |
In |
print.seed |
Whether or not to print the seed used in the simulations, or to annotate the plots with it. |
... |
ignored |
evm
density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.