View source: R/all_postprodn_fns.R
select_chains | R Documentation |
Select chains from angmcmc objects
select_chains(object, chain.no, ...)
object |
angular MCMC object. |
chain.no |
labels of chains to be retained in the final sample. If missing, all chains are used. |
... |
unused |
Returns another angmcmc object with only selected chains passed through chain.no
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.