Description Usage Arguments Value Author(s) References Examples
The function combines the sample slots of its arguments. The variable slot (current state) is taken from the first argument
1 2 |
... |
Objects of class |
The first phybreak
-object with mcmc samples of all objects.
Don Klinkenberg don@xs4all.nl
Klinkenberg et al. (2017) Simultaneous inference of phylogenetic and transmission trees in infectious disease outbreaks. PLoS Comput Biol, 13(5): e1005495.
1 2 3 4 5 6 7 8 9 10 11 | #First create a phybreak-object
simulation <- sim_phybreak(obsize = 5)
MCMCstate1 <- phybreak(dataset = simulation)
MCMCstate1 <- burnin_phybreak(MCMCstate1, ncycles = 20)
MCMCstate1 <- sample_phybreak(MCMCstate1, nsample = 50, thin = 2)
MCMCstate2 <- phybreak(dataset = simulation)
MCMCstate2 <- burnin_phybreak(MCMCstate2, ncycles = 20)
MCMCstate2 <- sample_phybreak(MCMCstate2, nsample = 50, thin = 2)
MCMCstate <- c(MCMCstate1, MCMCstate2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.