sim.cryptic.species: Simulate cryptic species on a taxonomy object

View source: R/sim.taxonomy.R

sim.cryptic.speciesR Documentation

Simulate cryptic species on a taxonomy object

Description

Simulate cryptic species on a taxonomy object

Usage

sim.cryptic.species(species, kappa)

Arguments

species

Taxonomy object.

kappa

Probability that speciation event is cryptic.

Value

An object of class taxonomy. Note the origin or root can not be cryptic.

See Also

taxonomy

Examples

t = ape::rtree(10)
sp = sim.taxonomy(t, 1)
sim.cryptic.species(sp, 0.5)


FossilSim documentation built on Oct. 5, 2023, 5:08 p.m.