rastex | R Documentation |
RasterArray
' classBinary versions of SpatRaster
-class objects are problematic, this function is used to instantiate a RasterArray
example.
rastex()
A two-dimensional RasterArray
-class object, with three rows and four columns.
# create example
example <- rastex()
# subset - single bracket
example['b']
# subset - single bracket
example[c(4, 6)]
# subset - double bracket
example[["layer_2"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.