get_brts: Extract a set of branching times from a dataset of simulated...

Description Usage Arguments Value Author(s)

View source: R/get_brts.R

Description

Read the dataset and returns the branching times for the specified tree.

Usage

1
get_brts(sim, para, mc, 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.

mc

numeric between 1 and 1000, the index of a tree within a dataset.

with_extinct

logical, should the tree include extinct lineages?

Value

a numerical vector containing the branching times of the tree.

Author(s)

Theo Pannetier


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