RasterArray-class | R Documentation |
SpatRaster
'-class objectsArray class for easier navigation of multilayer rasters
stack |
A |
index |
A |
dim |
A |
The class implements structures to organize single-layer 'SpatRaster
'-class objects that have the same dimensions and coordinate reference system. Subsetting rules were defined using the proxy object in the @index
slot. See examples for implementations.
The class has two slots:
@stack
: A 'SpatRaster
'-class object with multiple layers, the actual data.
index
: A proxy object that represents the organization of the layer in the array.
A 'RasterArray
'-class object.
# example data
ex <- rastex()
st <-ex@stack
ind <- 1:6
names(ind) <- letters[1:length(ind)]
ra<- RasterArray(stack=st, index=ind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.