Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bd

Convert object of class "birthdeath" to raw birth & death rates


Description

This function converts an object of class "birthdeath" to a vector with the ML birth & death rates.

Note that this is somewhat unnecessary as phytools now contains functions to fit birth-death and pure-birth diversification models from trees (fit.bd and fit.yule) that also take into account incomplete sampling fraction.

Usage

bd(x)

Arguments

x

object of class "birthdeath".

Value

A vector.

Author(s)

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also


phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.