makegrid: Makes a prediction grid from a geodata object

Description Usage Arguments Author(s) Examples

Description

Shaboom!

Usage

1
makegrid(geodata, length = 100, resolution = NULL)

Arguments

geodata

The geodata object to use

length

The number of points to use in the X- and Y- direction. Defaults to 100, resulting in a 100 x 100 grid.

resolution

Alternately, the grid can be defined by spacing with this dimension. Specifying resolution=10 would result in a grid in which points are spaced 10 units apart in the X- and Y- directions. Defaults to NULL.

Author(s)

Matt Tyers

Examples

1
2
3
4
5
data(lnLa)

grid <- makegrid(lnLa)
plot(lnLa$coords)
points(grid,pch='.')

mbtyers/rasterblaster documentation built on May 22, 2019, 12:58 p.m.