stack: Stacking method for the vector Spatial* 'SpatialStack'...

Description Usage Arguments Value Examples

Description

The function alls a RasterArray-like stacking of Spatial* objects and SpatialStacks .

Usage

1
2
3
4
5
## S4 method for signature 'VectorSpatialClasses'
stack(x, ...)

## S4 method for signature 'SpatialStack'
stack(x, ...)

Arguments

x

SpatialPoints,SpatialPointsDataFrame,SpatialLines,SpatialLinesDataFrame,SpatialPolygons,SpatialPolygonsDataFrame, object.

...

Additional Spatial* objects.

Value

A RasterArray class object.

A RasterArray class object.

Examples

1
2
3
4
5
6
data(coasts)
one <- coasts[1]
two <- coasts[2]
three <- coasts[3]
# create a SpatialStack similar to a RasterStack
spStack <- stack(one, two, three)

chronosphere documentation built on April 19, 2021, 1:07 a.m.