Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SpatialStack-class

Stack of Spatial Objects


Description

Vector data in the same CRS organized into a vector.

Arguments

Spatials

A list of Spatial objects or a character vector of file names identifying items for readOGR, in case the rgdal package is installed..

proj4string

A CRS-class object.

verbose

A logical value. Same as for array, creates proxy procedurally.

Details

The class implements a stack of vector data that mimic RasterStack-class objects, only with vector data. Classes, such as link[sp]{SpatialPoints}, link[sp]{SpatialPointsDataFrame}, link[sp]{SpatialLines}, link[sp]{SpatialLinesDataFrame}, link[sp]{SpatialPolygons} and link[sp]{SpatialPolygonsDataFrame} can be concatenated to a vector/list, where elements can be accessed using list-type subsetting. The only restriction is that the items must share the same CRS.

The class has two slots: Spatials: List of Spatial items. CRS: The coordinate reference system (CRS). bbox: The bounding box of all items.

Value

A SpatialStack class object.


chronosphere

Earth System History Variables

v0.4.1
CC BY 4.0
Authors
Adam T. Kocsis, Nussaibah B. Raja
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.