Plot a transmission tree in an economic format

plotTTree2(
  ttree,
  showLabels = TRUE,
  showMissingLinks = 0,
  maxTime = NA,
  cex = 1
)

Arguments

ttree

Transmission tree

showLabels

Boolean for whether or not to show the labels

showMissingLinks

Option for how to show missing links: (0) as dots, (1) as several gray levels, (2) as a single gray level

maxTime

Maximum value of time to show on x axis

cex

Expansion factor

Value

Returns invisibly the first parameter

Examples

plotTTree2(extractTTree(simulateOutbreak()))
#> Note that rejection sampling was used 1 times