get_average_nltt_matrix: Get the average nLTT from a collection of phylogenies

View source: R/get_average_nltt_matrix.R

get_average_nltt_matrixR Documentation

Get the average nLTT from a collection of phylogenies

Description

Get the average nLTT from a collection of phylogenies

Usage

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)

Richèl J.C. Bilderbeek

Examples

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


nLTT documentation built on Aug. 21, 2023, 5:13 p.m.