R: Plot speciation and extinction rates through time
Plot speciation and extinction rates through time
Plots diversification rates through time estimated from fits of exponential speciation and extinction models (Rabosky & Lovette 2008).
A numeric vector of branching times
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.