plotTTree | R Documentation |
Plot a transmission tree in a detailed format
plotTTree(ttree, w.shape, w.scale, showLabels = TRUE, maxTime = NA, cex = 1)
ttree |
Transmission tree |
w.shape |
Shape parameter of the Gamma probability density function representing the generation time |
w.scale |
Scale parameter of the Gamma probability density function representing the generation time |
showLabels |
Whether or not to show the labels |
maxTime |
Maximum value of time to show on x axis |
cex |
Expansion factor |
Returns invisibly the first parameter
plotTTree(extractTTree(simulateOutbreak()),2,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.