boundaryCrop: Wrapper around loading and clipping by a shapefile.

Description Usage Arguments Value

View source: R/spatial.R

Description

This function loads a shapefile and then uses it to clip a raster object.

Usage

1
boundaryCrop(raster, boundary.directory, boundary.filename)

Arguments

raster

A *Raster object to be clipped.

boundary.directory

The file folder path of the boundary shapefile.

boundary.filename

The bare filename (no extension) of the shapefile.

Value

A clipped *Raster object.


matthewkling/ecoclim documentation built on May 21, 2019, 1:04 p.m.