geoShapefile: Import shapefile

Description Usage Arguments Examples

Description

This function imports spatial information in the form of SpatialPolygonsDataFrame, SpatialLinesDataFrame or RasterLayer for use with geoMask().

Usage

1
geoShapefile(fileName = NULL)

Arguments

fileName

the object to be imported. Must be one of SpatialPolygonsDataFrame, SpatialLinesDataFrame or RasterLayer if it is to be used with geoMask().

Examples

1
2
# load London boroughs by default
geoShapefile()

bobverity/Rgeoprofile documentation built on May 12, 2019, 11:28 p.m.