Learn R Programming

rstan (version 2.19.2)

As.mcmc.list: Create an mcmc.list from a stanfit object

Description

Create an mcmc.list (coda) from a stanfit object.

Usage

As.mcmc.list(object, pars, include = TRUE, ...)

Arguments

object

object of class "stanfit"

pars

optional character vector of parameters to include

include

logical scalar indicating whether to include (the default) or exclude the parameters named in pars

unused

Value

An object of class mcmc.list.