Learn R Programming

treestats (version 1.70.5)

nLTT_base: Reference nLTT statistic

Description

The base nLTT statistic can be used as a semi stand-alone statistic for phylogenetic trees. However, please note that although this provides a nice way of checking the power of the nLTT statistic without directly comparing two trees, the nLTT_base statistic is not a substitute for directly comparing two phylogenetic trees. E.g. one would perhaps naively assume that \(nLTT(A, B) = |nLTT(A, base) - nLTT(B, base)\). Indeed, in some cases this may hold true (when, for instance, all normalized lineages of A are less than all normalized lineages of B), but once the nLTT curve of A intersects the nLTT curve of B, this no longer applies.

Usage

nLTT_base(phy)

Value

number of lineages

Arguments

phy

phylo object

Examples

Run this code
simulated_tree <- ape::rphylo(n = 10, birth = 1, death = 0)
nLTT_base(simulated_tree)

Run the code above in your browser using DataLab