splitRaster: Split raster into cells

View source: R/gridRaster.R

splitRasterR Documentation

Split raster into cells

Description

Split raster into cells

Usage

splitRaster(x, y, buffer = TRUE, out.dir = tempdir())

Arguments

x

RasterLayer.

y

SpatialPolygonsDataFrame, polygon grid (as created using gridRaster()),

buffer

TRUE/FALSE, if to create a small buffer around the polygon to avoid missing values at the polygon border when merging back together.

out.dir

string, output directory; default to tempdir().


emilio-berti/monkeytools documentation built on April 15, 2022, 8:14 a.m.