plot.ttree: Plotting for ttree

View source: R/methods.R

plot.ttreeR 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()))

xavierdidelot/EpiPhylo documentation built on Sept. 28, 2023, 6:39 p.m.