fit_coal_var(phylo, lamb0 = 0.1, alpha = 1, mu0 = 0.01, beta = 0, meth = "Nelder-Mead", N0 = 0, cst.lamb = FALSE, cst.mu = FALSE, fix.eps = FALSE, mu.0 = FALSE, pos = TRUE)
These models can be fitted using the options specified below:
with cst.lamb=TRUE & cst.mu=TRUE
with cst.lamb=FALSE & cst.mu=TRUE
with cst.lamb=TRUE & cst.mu=FALSE
with cst.lamb=FALSE, cst.mu=FALSE & fix.eps=TRUE
with cst.lamb=FALSE, cst.mu=FALSE & fix.eps=FALSE
with cst.lamb=TRUE & mu.0=TRUE
with cst.lamb=FALSE & mu.0=TRUE
Time runs from the present to the past. Hence, if alpha is estimated to be positive (for example), this means that the speciation rate decreases from past to present.
Morlon, H., Kemps, B., Plotkin, J.B., Brisson, D. (2012) Explosive radiation of a bacterial species group, Evolution, 66: 2577-2586
Morlon, H. (2014) Phylogenetic approaches for studying diversification, Eco Lett, 17:508-525
likelihood_coal_var
, fit_coal_cst
data(Cetacea)
result <- fit_coal_var(Cetacea, lamb0=0.01, alpha=-0.001, mu0=0.0, beta=0, N0=89)
print(result)
Run the code above in your browser using DataLab