| rastex {via} | R 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"]]
[Package via version 0.2.0 Index]