Learn R Programming

BAMBI (version 2.3.5)

as.mcmc.list.angmcmc: Create an mcmc.list object from an angmcmc object

Description

Create an mcmc.list object from an angmcmc object

Usage

# S3 method for angmcmc
as.mcmc.list(x, ...)

Arguments

x

angmcmc object

...

unused

Examples

Run this code
# first fit a vmsin mixture model
# illustration only - more iterations needed for convergence
fit.vmsin.20 <- fit_vmsinmix(tim8, ncomp = 3, n.iter =  20,
                             n.chains = 1)

# now convert it to mcmc.list
library(coda)
fit.vmsin.20.mcmc <- as.mcmc.list(fit.vmsin.20)

Run the code above in your browser using DataLab