clip_variableLayers: Crop model variable raster layers to accessible area.

Description Usage Arguments Value

View source: R/clip_modelLayers.R

Description

Crop all raster layers in a directory that are potential predictor variables for a species distribution model to the accessible area.

Usage

1
clip_variableLayers(layerDir, accessibleArea)

Arguments

layerDir

path to directory hosting raster layers

accessibleArea

spatial polygon denoting the species' accessible area in which the predictor variable should be cropped to.

Value

raster stack of cropped predictor variables.


mbelitz/autoSDM documentation built on Dec. 21, 2021, 3:55 p.m.