Learn R Programming

DrBats (version 0.1.6)

coda.obj: Convert a STAN objet to MCMC list

Description

Convert a STAN objet to MCMC list

Usage

coda.obj(stanfit)

Arguments

stanfit

a STAN object

Value

codafit an mcmc.list

Examples

Run this code
# NOT RUN {
data(stanfit) # output of modelFit or main.modelFit
coda.fit <- coda.obj(stanfit)
head(coda.fit)

# }

Run the code above in your browser using DataLab