as.mcmc.list.angmcmc {BAMBI}R Documentation

Create an mcmc.list object from an angmcmc object

Description

Create an mcmc.list object from an angmcmc object

Usage

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

Arguments

x

angmcmc object

...

unused

Examples

# 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)

[Package BAMBI version 2.3.5 Index]