powered by
model2df
model2df(model, gather = TRUE, rho = 1, compute.pulled.rates = TRUE)
a data frame
an object of class "CRABS"
boolean. Whether to return wide or long data frame
the sampling fraction at the present. Used to calculate the pulled speciation rate
whether to compute the pulled rates
lambda <- function(t) 2.0 + sin(0.8*t) mu <- function(t) 1.5 + exp(0.15*t) times <- seq(from = 0, to = 4, length.out = 1000) model <- create.model( lambda, mu, times = times) model2df(model)
Run the code above in your browser using DataLab