get_multi_brts: Extract multiple sets of branching times from a dataset of...

Description Usage Arguments Value Author(s)

View source: R/get_multi_brts.R

Description

Read the dataset at specified location and returns branching times for multiple trees specified by indices.

Usage

1
get_multi_brts(sim, para, rangemc = NULL, 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.

rangemc

numeric vector, a set of tree indices ranging from 1 to 1000.

with_extinct

logical, should the tree include extinct lineages?

Value

a list of numerical vectors containing the branching times of the specified trees.

Author(s)

Theo Pannetier


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