
Last chance! 50% off unlimited learning
Sale ends in
SpatialStack
objectsThe function alls a RasterArray
-like stacking of Spatial* objects and SpatialStack
s .
# S4 method for VectorSpatialClasses
stack(x, ...)# S4 method for SpatialStack
stack(x, ...)
A RasterArray
class object.
A RasterArray
class object.
SpatialPoints
,SpatialPointsDataFrame
,SpatialLines
,SpatialLinesDataFrame
,SpatialPolygons
,SpatialPolygonsDataFrame
, object.
Additional Spatial* objects.
data(coasts)
one <- coasts[1]
two <- coasts[2]
three <- coasts[3]
# create a SpatialStack similar to a RasterStack
spStack <- stack(one, two, three)
Run the code above in your browser using DataLab