select_chains: Select chains from angmcmc objects

View source: R/all_postprodn_fns.R

select_chainsR 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


BAMBI documentation built on March 31, 2023, 11:24 p.m.

Related to select_chains in BAMBI...