aggregateCovariateInfo: aggregateCovariateInfo function

View source: R/geometryHandling.R

aggregateCovariateInfoR Documentation

aggregateCovariateInfo function

Description

A function called by cov.interp.fft to allocate and perform interpolation of covariate infomation onto the FFT grid

Usage

aggregateCovariateInfo(cellidx, cidx, gidx, df, fftovl, classes, polyareas)

Arguments

cellidx

the index of the cell

cidx

index of covariate, no longer used

gidx

grid index

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


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.