Learn R Programming

IceCast (version 2.1.0)

spatialCollEx: Spatial collection example

Description

Example of a SpatialCollections object that contains a SpatialPolygons object and a SpatialLines object

Usage

spatialCollEx

Arguments

Format

SpatialCollections object

Examples

Run this code
# NOT RUN {
data(SpatialCollEx)
plot(spatialCollEx)
plot(spatialCollEx@lineobj, col = "red", add = TRUE)
plot(spatialCollEx@polyobj, col = "blue", add = TRUE)
# }

Run the code above in your browser using DataLab