mytrace: Posterior Traceplots

Description Usage Arguments Details

View source: R/my_trace.R

Description

Generate traceplots from either JAGS or Stan output

Usage

1
mytrace(x, pars, lang, ...)

Arguments

x

model output, or a data.table result from the output of get_iters

pars

names of parameters to be plotted. Uses get_iters defaults for getting parameters.

lang

model language (of x)

...

arguments passed to plot

Details

Easier to handle than other traceplots (if, e.g., wanted to add trace plot from multiple models to same figure, hard to do w/ Stan function). Works for JAGS or Stan output (via R2jags and rstan).


rBatt/trawlDiversity documentation built on Aug. 14, 2021, 1:01 p.m.