plotRate {laser} | R Documentation |
Plots diversification rates through time estimated from fits of exponential speciation and extinction models (Rabosky & Lovette 2008).
plotRate(bt, pars)
bt |
A numeric vector of branching times |
pars |
a list of parameters, with named components lam0, k, mu0, and z |
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.
Just plots the rates.
Dan Rabosky DLR32@cornell.edu
fitSPVAR
, fitEXVAR
, fitBOTHVAR