subset_raster_by_names: Subsets a raster based on its layer names

Description Usage Arguments Author(s)

View source: R/subset_raster_by_names.R

Description

Subsets a raster based on its layer names

Usage

1
subset_raster_by_names(x, subset_names, allnames = TRUE)

Arguments

x

A Raster* object to be subsetted.

subset_names

Character. A vector of layer names to use to subset the Raster*.

allnames

Logical. Make sure all subset_names are contained by x?

Author(s)

Jonathan A. Greenberg ([email protected])


azvoleff/spatial.tools documentation built on June 4, 2017, 12:08 a.m.