Description Usage Arguments Value Author(s) References See Also Examples
This function implements a nonparametric approach to estimate ancestral climatic tolerances proposed by Evans et al. (2009), using ace
from the ape
package.
1 |
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: |
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 |
Christoph Heibl
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.
1 2 3 4 5 6 7 8 9 10 11 12 | # 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)")
|
Loading required package: ape
Loading required package: raster
Loading required package: sp
Attaching package: 'raster'
The following objects are masked from 'package:ape':
rotate, zoom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.