Description Usage Arguments Value Note Author(s)
View source: R/estimate_spext.R
This function fits Nee's likelihood function to one or more trees and returns the estimated speciation and extinction rates by maximum likelihood, as well as the average age of all trees. If several trees are input, the average of those is returned.
1 | estimate_spext(treepath)
|
treepath |
A path to where the tree file is. The tree file should be named "Tress.txt" and be in Newick format. It may contain several trees. |
A vector with a speciation and an extinction rate.
ape
is a dependency.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.