get_ltt_tbls: Get LTT tables and average LTT for a set of trees

Description Usage Arguments Value Author(s)

View source: R/get_ltt_tbls.R

Description

Calls TreeSim::LTT.plot.gen() to get LTT coordinates of trees in a simulated data set, and the average LTT coordinates

Usage

1
get_ltt_tbls(sim, para, with_extinct = FALSE)

Arguments

sim

character, name of the simulation model, either "DD" or "TD".

para

numeric, a four-digits number coding for a set of four parameter values. Refer to arg_para() doc for details, and call arg_para() to see possible inputs.

with_extinct

logical, should the tree include extinct lineages?

Value

a list of tibbles of the LTT coordinates. The first element corresponds to the average LTT, and each other element is to the LTT of a single tree.

Author(s)

Théo Pannetier


TheoPannetier/DDvTDtools documentation built on Oct. 22, 2020, 2:31 p.m.