sim.anagenetic.species function

Simulate anagenetic species on a taxonomy object

Simulate anagenetic species on a taxonomy object

sim.anagenetic.species(tree, species, lambda.a)

Arguments

  • tree: Phylo object.
  • species: Taxonomy object.
  • lambda.a: Rate of anagenetic speciation. Default = 0.

Returns

Object of class taxonomy.

Examples

t = ape::rtree(10) sp = sim.taxonomy(t, 1) sim.anagenetic.species(t, sp, 0.1)

See Also

taxonomy

  • Maintainer: Joelle Barido-Sottani
  • License: GPL-3
  • Last published: 2024-10-02

Useful links