Diagnostic plots for the Markov chains in an evmSim object

Share:

Description

Diagnostic plots for the Markov chains in an evmSim object

Usage

1
2
3
4
## S3 method for class 'evmSim'
ggplot(data = NULL, mapping, which.plots = 1:3,
  denscol = "dark blue", acfcol = "light blue", plot.it = TRUE, ...,
  environment)

Arguments

data

An object of class 'evmSim'.

mapping, environment

ignored

which.plots

Which plots to produce. Density plots correspond to 1, trace plots of the Markov chains to 2 and autocorrelation function plots to 3.

denscol

Colour for the density plots. Defaults to 'dark blue'.

acfcol

Colour for the ACF plots. Defaults to 'light blue'.

plot.it

Whether or not to actually print the plots. Defaults to plot.it=TRUE. If plot.it=FALSE, you might want to control the layout. Do this with do.call("grid.arrange", c(plots, ncol=2)), for example, where plots is the objected returned by ggplot.evmSim.

...

Additional arguments to ggplot, currently unused.

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