create_yule_tree: Create a Yule tree.

View source: R/create_generative_trees.R

create_yule_treeR Documentation

Create a Yule tree.

Description

A Yule model is also known as a pure-birth model; a birth-death model without extinction.

Usage

create_yule_tree(n_taxa = 6, crown_age = 10, n_0 = 2)

Arguments

n_taxa

number of tree tips

crown_age

the fixed crown age of the posterior. Set to NA to let it be estimated

n_0

number of starting species

Value

a phylogenetic tree of type phylo

Author(s)

Giovanni Laudanno, Richèl J.C. Bilderbeek

Examples

n_taxa <- 31
crown_age <- 41

create_yule_tree(
  n_taxa = 31,
  crown_age = 41
)

richelbilderbeek/pirouette documentation built on Oct. 18, 2023, 3:09 p.m.