keepLine: Keep only spatial lines

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Keep only SpatialLines from a spatial object.

Usage

1
keepLine(myPoly)

Arguments

myPoly

SpatialCollections, SpatialPolygons, SpatialPoints, or SpatialLines object

Value

SpatialPolygons object

Examples

1
2
3
4
par(mfrow = c(1, 2))
plot(spatialCollEx, col = "blue", main = "Spatial Collections Object")
lineOnly <- keepLine(spatialCollEx)
plot(lineOnly, col = "blue", main = "Spatial Line Only")

IceCast documentation built on Aug. 16, 2017, 9:03 a.m.