meteSSF calculates the ``spatial structure
function'' $\Pi(n)$ (analogous to the ecosystem structure function). From
the SSF the spatial abundance distribution can be calculated.
Usage
meteSSF(spp, sppID, abund, row, col, x, y, n0 = sum(abund), A, A0)
Arguments
spp
A vector of species names
sppID
A character giving the name of the desired species (as it appears in `spp')
abund
A vector of abundances
row
A vector of row IDs for each observation
col
A vector of column IDs for each observation
x
A vector of x coordinates for each observation
y
A vector of y coordinates for each observation
n0
Total abundance in area A0
A
The area at which abundances were recorded
A0
Total study area
Value
An object of class meteSSF with elements
data
The data used to construct the SSF
La
Vector of Lagrange multipliers
La.info
Termination information from optimization procedure
state.var
State variables used to constrain entropy maximization
Details
Uses either data or state variables to calculate the Spatial Structure
Function (SSF). Uses internal code to determine when computation-saving approximations
can be safely made
References
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.