anc.clim {phyloclim} | R Documentation |
Estimation of Ancestral Climatic Tolerances
Description
This function implements a nonparametric approach to estimate ancestral climatic tolerances proposed by Evans et al. (2009), using ace
from the ape
package.
Usage
anc.clim(target, posterior = NULL, pno, n = 100, method = "GLS")
Arguments
target |
An object of class |
posterior |
An object of class |
pno |
A data frame containing predicted niche occupancy (PNO) profiles, produced e.g. with |
n |
An integer: The PNO profile given by |
method |
A character string specifying the method used for estimation. Two choices are possible: |
Value
A list containing three elements:
tree |
An object of class |
means |
A vector containing the means of estimated ancestral climatic tolerances. The elements of |
central.density |
A matrix, which for each of the terminal nodes in |
Author(s)
Christoph Heibl
References
Evans, M. E. K., S. A. Smith, R. S. Flynn, and M. J. Donoghue. 2009. Climate, niche evolution, and diversification of the 'bird-cage evening primroses' (Oenothera, sections Anogra and Kleinia). Am. Nat. 173: 225-240.
See Also
Examples
# load phylogeny and PNOs of Oxalis sect. Palmatifoliae
data(tree)
data(PNO)
# choose summer precipitation for analysis
clim <- PNO$PrecipitationWarmestQuarter
# estimate ancestral tolerances
ac <- anc.clim(target = tree, pno = clim, n = 100)
# visualize results
plotAncClim(ac, ylab = "Precipitation of warmest quarter (mm)")