rasterToMatch: Extract or create a raster to match

rasterToMatchR Documentation

Extract or create a raster to match

Description

This extracts or creates a new raster layer, whose intention is to be used as the rasterToMatch argument in further prepInputs calls.

Usage

rasterToMatch(x, ...)

## S4 method for signature 'Raster'
rasterToMatch(x, studyArea, ...)

## S4 method for signature 'SpatialPolygonsDataFrame'
rasterToMatch(x, studyArea, rasterToMatch, ...)

Arguments

x

A Raster Layer with correct resolution and origin.

...

Additional arguments

studyArea

A SpatialPolygon* object that will be sent to postProcess.

rasterToMatch

The raster to match in a fasterize call.

Value

A RasterLayer object.


PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.