showGrid: showGrid function

View source: R/spatgrid.R

showGridR Documentation

showGrid function

Description

A function to show the grid that will be used for a given cellwidth

Usage

showGrid(dat, cellwidth, ext = 2, boundingbox = NULL)

Arguments

dat

any spatial data object whose bounding box can be computed using the function bbox.

cellwidth

an initial suggested cellwidth

ext

the extension parameter for the FFT transform, set to 2 by default

boundingbox

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

Value

a plot showing the grid and the data. Ideally the data should only just fit inside the grid.


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.