derivePlots: derivePlots

Description Usage Arguments Details Value See Also Examples

View source: R/derivePlots.R

Description

Creates a fishnet from a spatial extent.

Usage

1

Arguments

x

A spatial object.

y

A numeric element.

Details

Creates a rectangular fishnet in a SpatialPolygons format based on the extent of x and the value of y which defines the spatial resolution.

Value

An object of class SpatialPolygons.

See Also

rankPlots

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{

require(raster)

# read field data
data(fieldData)

# derive plots
g <- derivePlots(fieldData, 1000)

# compare original data and output
plot(fieldData)
plot(g, border="red", add=TRUE)

}

fieldRS documentation built on July 8, 2020, 5:37 p.m.