select_chains {BAMBI}R Documentation

Select chains from angmcmc objects

Description

Select chains from angmcmc objects

Usage

select_chains(object, chain.no, ...)

Arguments

object

angular MCMC object.

chain.no

labels of chains to be retained in the final sample. If missing, all chains are used.

...

unused

Value

Returns another angmcmc object with only selected chains passed through chain.no

Examples

# illustration only - more iterations needed for convergence
fit.vmsin.20 <- fit_vmsinmix(tim8, ncomp = 3, n.iter =  20,
                             L = c(10, 12), chains_parallel = FALSE,
                             n.chains = 2)
fit.vmsin.20
fit.vmsin.20.1 <- select_chains(fit.vmsin.20, 1)
fit.vmsin.20.1


[Package BAMBI version 2.3.5 Index]