lets.field {letsR} | R Documentation |
Create species' values based on the species co-occurrence within focal ranges
Description
Create single species' values based on the attributes of species co-occurring within individual ranges.
Usage
lets.field(x, y, z, weight = TRUE, xy = NULL, count = FALSE)
Arguments
x |
A |
y |
Species attribute to be considered. It must be a numeric attribute. |
z |
Species names in the same order as the attributes and exactly the
same as named in the |
weight |
If |
xy |
If |
count |
Logical, if |
Details
If the species do not co-occur with any other species NaN will be returned.
Author(s)
Bruno Vilela & Fabricio Villalobos
References
Villalobos, F. and Arita, H.T. 2010. The diversity field of New World leaf-nosed bats (Phyllostomidae). Global Ecology and Biogeography. 19, 200-211.
Villalobos, F., Rangel, T.F., and Diniz-Filho, J.A.F. 2013. Phylogenetic fields of species: cross-species patterns of phylogenetic structure and geographical coexistence. Proceedings of the Royal Society B. 280, 20122570.
See Also
Examples
## Not run:
data(PAM)
range <- lets.rangesize(x = PAM, units = "cell")
field <- lets.field(PAM, range, PAM$S, weight = TRUE)
## End(Not run)