bm_loglik_ancestors_poly: Fast likelihood of ancestors using polygons
Description
For internal use only.Usage
bm_loglik_ancestors_poly(tree, polygons, params, nGQ)
Arguments
tree
phylogenetic tree of class "phylo".
params
current parameters values.
nGQ
degree of the one-dimensional Gauss-Legendre quadrature rule (default = 20) as given by polyCub.SV in package polyCub. Value
- Returns the loglikelihood according to brownian motion usign polygons.
References
Quintero, I., Keil, P., Jetz, W., Crawford, F. W. 2015 Historical Biogeography Using Species Geographical Ranges. Systematic Biology. doi: 10.1093/sysbio/syv057