Description Usage Arguments Value Author(s) References Examples
View source: R/quantile_phybreak.R
Quantiles of sampled parameter values.
1 2 3 |
whichpars |
Which parameters to return. Either a vector with parameter names, or |
probs |
Numeric vector of probabilities with values in [0,1]. |
type |
An integer between 1 and 9 selecting one of the nine quantile algorithms (see |
A named matrix with desired quantiles. For parameters that are not estimated, all quantiles give the fixed value.
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 | #First build a phybreak-object.
simulation <- sim_phybreak(obsize = 5)
MCMCstate <- phybreak(data = simulation)
MCMCstate <- burnin_phybreak(MCMCstate, ncycles = 20)
MCMCstate <- sample_phybreak(MCMCstate, nsample = 100)
quantile(MCMCstate)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.