powered by
Plot a transmission tree in a detailed format
plotTTree(ttree, w.shape, w.scale, showLabels = TRUE, maxTime = NA, cex = 1)
Transmission tree
Shape parameter of the Gamma probability density function representing the generation time
Scale parameter of the Gamma probability density function representing the generation time
Whether or not to show the labels
Maximum value of time to show on x axis
Expansion factor
Returns invisibly the first parameter
# NOT RUN { plotTTree(extractTTree(simulateOutbreak()),2,1) # }
Run the code above in your browser using DataLab