Plots for evmSim objects

Share:

Description

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.

Usage

1
2
3
## S3 method for class 'evmSim'
plot(x, which.plots = 1:3, density.adjust = 2,
  print.seed = FALSE, ...)

Arguments

x

an object of class evmSim

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.

density.adjust

In plot method for class evmSim. Passed into density. Controls the amount of smoothing of the kernel density estimate.

print.seed

Whether or not to print the seed used in the simulations, or to annotate the plots with it.

...

ignored

See Also

evm

density

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.