plotTTree2: Plot a transmission tree in an economic format

View source: R/plotTTree2.R

plotTTree2R Documentation

Plot a transmission tree in an economic format

Description

Plot a transmission tree in an economic format

Usage

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()))

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