nltt_diff: Calculates the exact difference between the lineage through...

Description Usage Arguments Value Author(s) See Also

View source: R/nLTTDiff.R

Description

Calculates the exact difference between the lineage through time curves of tree1 & tree2 (normalized in time and for the number of lineages)

Usage

1
2
nltt_diff(tree1, tree2, distance_method = "abs", ignore_stem = TRUE,
  log_transform = FALSE)

Arguments

tree1

(phylo) First phylogenetic tree

tree2

(phylo) Second phylogenetic tree

distance_method

(string) absolute, or squared distance?

ignore_stem

logical Should the phylogeny its stem be ignored?

log_transform

(logical) Should the number of lineages be log-transformed before normalization?

Value

(scalar) normalized Lineage-Through-Time difference between tree1 & tree2

Author(s)

Thijs Janzen

See Also

use nltts_diff to compare a collection of phylogenies to one focal/reference tree


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