nltts_plot: Get the average nLTT from a collection of phylogenies

Description Usage Arguments Value Author(s) Examples

View source: R/nltts_plot.R

Description

Get the average nLTT from a collection of phylogenies

Usage

1
2
3
nltts_plot(phylogenies, dt = 0.001, plot_nltts = FALSE,
  xlab = "Normalized Time", ylab = "Normalized Lineages",
  replot = FALSE, ...)

Arguments

phylogenies

the phylogenies, where the phylogenies are of type 'phylo'

dt

The timestep resolution, where 1/dt is the number of points evaluated

plot_nltts

Also plot each nLLT line

xlab

Label on the x axis

ylab

Label on the y axis

replot

If false, start a clean plot. If true, plot the new data over the current

...

Plotting options

Value

Nothing

Author(s)

Richel Bilderbeek

Examples

1
2
  nltts_plot(c(ape::rcoal(10), ape::rcoal(10)))
  nltts_plot(c(ape::rcoal(10), ape::rcoal(20)), dt = 0.1)

nLTT documentation built on Jan. 13, 2020, 9:06 a.m.