process_stanfit: Process a fit Stan model

Description Usage Arguments Examples

Description

This function processes a fit Stan model object, recording divergent iterations, Rhat values, and, if they have been stored, log-likelihood values along with WAIC.

Usage

1
process_stanfit(fit.stan.model, n.pars.to.trim)

Arguments

fit.stan.model

A Stan model object.

n.pars.to.trim

The number of parameters in the Stan model to exclude from calculations. Useful for excluding lp__ and any parameters that are saved at every model iteration, thus becoming unwieldy.

Examples

1
process_stanfit(my.stan.model, 1)

eveskew/reskew documentation built on May 16, 2019, 7:10 p.m.