plot_caterpillar: Generate caterpillar plot

View source: R/plot_caterpillar.R

plot_caterpillarR Documentation

Generate caterpillar plot

Description

Generates a caterpillar plot (trace plot). If a file already exists, it is read into memory.

Usage

plot_caterpillar(model, save_to, filename, save_pdf = FALSE)

Arguments

model

a runjags object containing model results

save_to

a string specifying the location in which the output (an rds file containing the density plot) should be saved

filename

a string specifying the name of the output (an rds file containing the density plot)

save_pdf

a boolean specifying whether or not a pdf should be saved

Value

Returns a caterpillar plot and saves an rds file


soniamitchell/SpARKjags documentation built on May 5, 2022, 12:09 p.m.