nltt_diff_exact_brts: Calculates the exact difference between the nLTT curves of...

Description Usage Arguments Author(s)

View source: R/nLTTDiff.R

Description

Calculates the exact difference between the nLTT curves of the branching times

Usage

1
2
nltt_diff_exact_brts(b_times, lineages, b_times2, lineages2,
  distance_method = "abs", time_unit = "since")

Arguments

b_times

branching times of the first phylogeny,

lineages

the number of lineages, usually one to the number of lineages

b_times2

branching times of the first phylogeny

lineages2

the number of lineages, usually one to the number of lineages

distance_method

how the difference between the two nLTTs is summed

  • "abs: "the absolute distance between the two nLTTs is summed

  • "squ: "the squared distance between the two nLTTs is summed

time_unit

the time unit of the branching times

  • "ago: "the branching times are postive, as these are in time units ago

  • "since: "the branching times are negative, as these are in time units since present

Author(s)

Thijs Janzen and Richel Bilderbeek


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