plot.ttree {TransPhylo}R Documentation

Plotting for ttree

Description

Plotting for ttree

Usage

## S3 method for class '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

plot(extractTTree(simulateOutbreak()))

[Package TransPhylo version 1.4.5 Index]