aggregateCovariateInfo: aggregateCovariateInfo function
Description
A function called by cov.interp.fft to allocate and perform interpolation of covariate infomation onto the FFT gridUsage
aggregateCovariateInfo(cellidx, cidx, gidx, df, fftovl, classes, polyareas)
Arguments
cellidx
the index of the cell
cidx
index of covariate, no longer used
df
the data frame containing the covariate information
fftovl
an overlay of the fft grid onto the SpatialPolygonsDataFrame or SpatialPixelsDataFrame objects
classes
vector of class attributes of the dataframe
polyareas
polygon areas of the SpatialPolygonsDataFrame or SpatialPixelsDataFrame objects
Value
- the interpolated covariate information onto the FFT grid