plotRate {laser}R Documentation

Plot speciation and extinction rates through time

Description

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

Usage

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 DLR32@cornell.edu

See Also

fitSPVAR, fitEXVAR, fitBOTHVAR


[Package laser version 2.2 Index]