dalmatian (version 0.3.0)

caterpillar.dalmatian: Caterpillar (dalmatian)

Description

Construct caterpillar plots for key (or selected) parameters in a dalmatian object.

Usage

# S3 method for dalmatian
caterpillar(object, family = NULL,
  nstart = start(object$coda), nend = end(object$coda),
  nthin = thin(object$coda), plot = TRUE, ...)

Arguments

object

Object of class dalmatian created by dalmatian().

family

String defining selected family of variables (see help for ggs()).

nstart

Start point for computing summary statistics (relative to true start of chain).

nend

End point for computing summary statistics (relative to true start of chain).

nthin

Thinning factor for computing summary statsitics (relative to full chain and not previously thinned output).

plot

If TRUE then generate plots. Otherwise, a list of ggplot objects will be returned.

...

Ignored

Value

A list of ggplot objects that can be used to later reproduce the plots via print.

Examples

Run this code
# NOT RUN {
## Load output from previously run model
load(system.file("Pied_Flycatchers_1","pfresults.RData",package="dalmatian"))

## Generate caterpillar
pfcaterpillar <- caterpillar(pfresults,plot = FALSE)

# }

Run the code above in your browser using DataLab