plotRate: Plot speciation and extinction rates through time

Description Usage Arguments Details Value Author(s) See Also

Description

Plots diversification rates through time estimated from fits of exponential speciation and extinction models (Rabosky & Lovette 2008).

Usage

1
plotRate(bt, pars)

Arguments

bt

A numeric vector of branching times

pars

a list of parameters, with named components lam0, k, mu0, and z

Details

Plots speciation and extinction curves through time for models fitted using fitSPVAR, fitEXVAR, and fitBOTHVAR. If you want to plot the rate from SPVAR, note that this corresponds to assuming a very large z parameter; Try suppling z = 10000 or similar. Likewise, if you want to plot the fit from EXVAR, supply k = 0.

Value

Just plots the rates.

Author(s)

Dan Rabosky drabosky@umich.edu

See Also

fitSPVAR, fitEXVAR, fitBOTHVAR


laser documentation built on Jan. 15, 2017, 4:49 p.m.