make_bm_loglik_ancestors_poly: Fast likelihood of ancestors using polygons

Description Usage Arguments Value Author(s) References See Also

Description

For internal use only.

Usage

1
make_bm_loglik_ancestors_poly(polygons, ntaxa, nnode, tredge, trlen, nGQ)

Arguments

polygons

list of polygons in owin.object format.

ntaxa

Integer indicating the number of tips.

nnode

Integer indicating the number of nodes (should be ntaxa - 1).

tredge

Two-dimensional array indicating the parent -> child for each tree edge (i.e., the 'edge' slot in a phylo object).

trlen

Vector of the length of each edge (i.e., the 'edge.length' slot in a phylo object).

nGQ

degree of the one-dimensional Gauss-Legendre quadrature rule (default = 20) as given by polyCub.SV in package polyCub.

Value

Returns the function to estimate loglikelihood according to brownian motion usign polygons.

Author(s)

Forrest Crawford, Ignacio Quintero

References

Quintero, I., Keil, P., Jetz, W., Crawford, F. W. 2015 Historical Biogeography Using Species Geographical Ranges. Systematic Biology. doi: 10.1093/sysbio/syv057

See Also

rase


rase documentation built on May 2, 2019, 12:46 p.m.