plot.map2stan: Trace plot of map2stan chains

Description Usage Arguments Details Author(s)

Description

Shows trace plots for Stan samples produced by a map2stan fit, annotated by number of effective samples. Automatic paging and adjustable number of columns and rows per page.

Usage

1
plot( object , pars , col=rethink_palette , alpha=1 , bg=gray(0.7,0.5) , ask=TRUE , window , n_cols=3 , max_rows=5 , ... )

Arguments

object

map2stan model fit

pars

Character vector of parameters to display

col

Vector of colors to use for chains. Recycled.

alpha

alpha transparency of chains

bg

Background fill for warmup samples

ask

Whether to pause for paging. Default is TRUE.

window

Range of samples to display. Default is all samples.

n_cols

Number of columns per page

max_rows

Maximum number of rows per page

...

Additional arguments to pass to plot commands

Details

This is the default trace plot method for map2stan model fits.

Author(s)

Richard McElreath


joepowers16/rethinking documentation built on June 2, 2019, 6:52 p.m.