dot-layerIndex: Get index of raster layers

.layerIndexR Documentation

Get index of raster layers

Description

Get index of raster layers

Usage

.layerIndex(layer, x, recycle = TRUE)

Arguments

layer

Integer, numeric, logical, or character: Refers to one or more layers.

x

A GRaster.

recycle

Logical: If TRUE (default), and layer is logical and smaller in number than the number of layers, then recycle the vector of layer.

Value

An integer vector.


adamlilith/fasterRaster documentation built on Sept. 23, 2024, 1:28 a.m.