getGenerationTimeDist | R Documentation |
Extract and return realised generation time distribution
getGenerationTimeDist(
record,
burnin = 0.5,
maxi = 2,
numBins = 20,
show.plot = F
)
record |
MCMC output produced by inferTTree |
burnin |
Proportion of the MCMC output to be discarded as burnin |
maxi |
Maximum generation time to consider |
numBins |
Number of time bins to compute and display distribution |
show.plot |
Show a barplot of the distribution |
Vector of times between becoming infected and infecting others (generation times) in the posterior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.