Learn R Programming

spatsurv (version 2.0)

FFTgrid: FFTgrid function

Description

A function to generate an FFT grid and associated quantities including cell dimensions, size of extended grid, centroids,

Usage

FFTgrid(spatialdata, cellwidth, ext, boundingbox = NULL)

Value

a list

Arguments

spatialdata

a SpatialPixelsDataFrame object

cellwidth

width of computational cells

ext

multiplying constant: the size of the extended grid: ext*M by ext*N

boundingbox

optional bounding box over which to construct computational grid, supplied as an object on which the function 'bbox' returns the bounding box