Learn R Programming

TransPhylo (version 1.4.5)

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

Value

Plot of ttree

Examples

Run this code
# NOT RUN {
plot(extractTTree(simulateOutbreak()))
# }

Run the code above in your browser using DataLab