A function to interpolate covariate values onto the fft grid, ready for analysis
cov.interp.fft(
formula,
W,
regionalcovariates = NULL,
pixelcovariates = NULL,
mcens,
ncens,
cellInside,
overl = NULL
)
an object of class formula (or one that can be coerced to that class) starting with X ~ (eg X~var1+var2 *NOT for example* Y~var1+var2): a symbolic description of the model to be fitted.
an owin observation window
an optional SpatialPolygonsDataFrame
an optional SpatialPixelsDataFrame
x-coordinates of output grid centroids (not fft grid centroids ie *not* the extended grid)
y-coordinates of output grid centroids (not fft grid centroids ie *not* the extended grid)
a 0-1 matrix indicating which computational cells are inside the observation window
an overlay of the computational grid onto the SpatialPolygonsDataFrame or SpatialPixelsDataFrame.
The interpolated design matrix, ready for analysis