rastex: Procedural example structure to demonstrate the capabilities...

View source: R/data.R

rastexR Documentation

Procedural example structure to demonstrate the capabilities of the 'RasterArray' class

Description

Binary versions of SpatRaster-class objects are problematic, this function is used to instantiate a RasterArray example.

Usage

rastex()

Value

A two-dimensional RasterArray-class object, with three rows and four columns.

Examples

# create example
example <- rastex()

# subset - single bracket
example['b']

# subset - single bracket
example[c(4, 6)]

# subset - double bracket
example[["layer_2"]]

via documentation built on May 31, 2023, 8:31 p.m.

Related to rastex in via...