plot.pogit: Plot an object of class 'pogit'

Description Usage Arguments Author(s) Examples

Description

This function provides traceplots, autocorrelation plots and density plots of the MCMC samples for an object of class "pogit" to graphically assess convergence of the MCMC simulations. It also displays the (model averaged) posterior means and 95%-HPD intervals for the regression effects.

Usage

1
2
3
## S3 method for class 'pogit'
plot(x, type = "traceplot", burnin = TRUE, thin = TRUE,
  lag.max = NULL, ci = TRUE, maxPlots = NULL, ...)

Arguments

x

an object of class pogit

type

type of plot: "traceplot" (default) for traceplots of the MCMC draws, "acf" for autocorrelation plots of the MCMC draws, "density" for density plots and "hpd" to display (model averaged) posterior means with 95%-HPD intervals for the regression effects.

burnin

logical. If TRUE (default), burn-in draws (as specified in x) are discarded.

thin

logical. If TRUE (default), thinning (as specified in x) is considered for diagnostic MCMC plots.

lag.max

maximum lag for autocorrelation plot; if NULL (default), the default of acf is used.

ci

logical. If TRUE (default), the confidence interval in the autocorrelation plot is shown (see acf for details).

maxPlots

maximum number of plots on a single page; if NULL (default), the number of plots dispayed on a single page is specified according to the used model.

...

further arguments (not used)

Author(s)

Michaela Dvorzak <m.dvorzak@gmx.at>

Examples

1
## see examples for pogitBvs, logitBvs, poissonBvs and negbinBvs


Search within the pogit package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.