Description Usage Arguments Value Author(s) Examples

This function takes two ultrametric phylogenetic trees, calculates the normalized Lineage-Through-Time statistic for both trees and then calculates the difference between the two statistics.

1 |

`tree1` |
an object of class |

`tree2` |
an object of class |

`distance_method` |
Chosen measurement of distance between
the two nLTT curves, options are (case sensitive): |

`ignore_stem` |
a boolean whether to ignore the stem length |

`log_transform` |
a boolean wether to log-transform the number of lineages before normalization |

The difference between the two nLTT statistics

Thijs Janzen

1 2 3 4 5 6 | ```
data(exampleTrees)
nltt_plot(exampleTrees[[1]])
nltt_lines(exampleTrees[[2]], lty=2)
nLTTstat(
exampleTrees[[1]], exampleTrees[[2]],
distance_method = "abs", ignore_stem = TRUE)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.