Site-by-coordinate data frame, with sites as rows and coordinates as columns.
data.spec
Site-by-species presence-absence data frame, with sites as rows and species as columns.
data.env
Site-by-variable data frame, with sites as rows and environmental variables as columns.
method
Name of a function (as a string) indicating how to combine the coordinates and the environmental variables. It can be a basic R-function such as "mean" or "max", but also a custom function.
n
Mapping grain (the number of sites combined to generate data at a coarser grain). Regularly spaced sites are grouped as n x n sites.
Value
rescale.regular returns a data frame with the rescaled data.
Details
The sites (plots or quadrates) are aggregated as nearest neighbouring groups of n x n sites, using a nested approach, starting from the lowest x and y, to increase the grain. The sites can be spatially contiguous or discontiguous, as long as they are regularly spaced. This function is not suitable for irregularly spaced sites. If the total number of sites is not a multiple of n x n, the extra sites are discarded.
References
Hui C. & McGeoch M.A. (2014). Zeta diversity as a concept and metric that unifies incidence-based biodiversity patterns. The American Naturalist, 184, 684-694.
Scheiner S.M., Chiarucci A., Fox G.A., Helmus M.R., McGlinn D.J. & Willig M.R. (2011). The underpinnings of the relationship of species richness with space and time. Ecological Monographs, 81, 195-213.