nltt_diff_exact: Calculates the exact, difference between the lineage through...

View source: R/nLTTDiff.R

nltt_diff_exactR Documentation

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

Description

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

Usage

nltt_diff_exact(
  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


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