indexFromCellLayer: Compute 3d array indices given cell and layer

View source: R/raster.R

indexFromCellLayerR Documentation

Compute 3d array indices given cell and layer

Description

Compute 3d array indices given cell and layer

Usage

indexFromCellLayer(cellLayer, x)

Arguments

cellLayer

2 element data frame (or tibble) with cell and layer. If layer is of type character we covert to integer using names(x)

x

Raster* of SpatRaster

Value

cellLayer with index added


BigelowLab/rasf documentation built on July 18, 2022, 10:19 p.m.