plot.ttree: Plotting for ttree
Description
Plotting for ttree
Usage
# S3 method for ttree
plot(x, type = "summarised", w.shape = NA, w.scale = NA, ...)
Arguments
x
Object of class ttree, ie a transmission tree
type
Type of plot to display, can be 'detailed' or 'summarised' (default)
w.shape
Shape parameter of the generation time, needed for detailed plot only
w.scale
Scale parameter of the generation time, needed for detailed plot only
...
Additional parameters are passed on
Examples
Run this code# NOT RUN {
plot(extractTTree(simulateOutbreak()))
# }
Run the code above in your browser using DataLab