stan_trace: Trace plots for Stan or JAGS model objects

Description Usage Arguments Author(s) Examples

View source: R/stan_trace.R

Description

Creates trace and density plots for Stan or JAGS model objects, with R-hat and Neff displayed.

Usage

1
stan_trace(fit, par.name, number, same.scale = FALSE, n.per.page = 6)

Arguments

fit

Stan model object.

par.name

Name of the parameter of interest in quotes.

number

A numeric vector giving the index for what values of the parameter to display. This can be also be a list for specifying paramaters in a matrix. See Details.

same.scale

Display the density plots on the same x-axis scale, across parameters. Defaults to false.

n.per.page

Number of parameters to display per page. Defaults to 6.

Author(s)

Michael J. Dodrill, mdodrill@usgs.gov

Examples

1
Need to add examples.

mdodrill-usgs/fishR documentation built on Oct. 29, 2019, 8:48 p.m.