get_average_nltt_matrix: Get the average nLTT from a collection of phylogenies

Description Usage Arguments Value Author(s) Examples

View source: R/get_average_nltt_matrix.R

Description

Get the average nLTT from a collection of phylogenies

Usage

1
get_average_nltt_matrix(phylogenies, dt = 0.001)

Arguments

phylogenies

the phylogenies, supplied as either a list or a multiPhylo object, where the phylogenies are of type 'phylo'

dt

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

Value

A matrix of timepoints with the average number of (normalized) lineages through (normalized) time

Author(s)

Richel Bilderbeek

Examples

1
  get_average_nltt_matrix(c(ape::rcoal(10), ape::rcoal(20)))

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