shp_to_df: shp_to_df

Description Usage Arguments Details

View source: R/gis.R

Description

Convert shapefile object to dataframe

Usage

1
shp_to_df(obj)

Arguments

obj

Spatial object to convert. See details.

Details

Takes a SpatialLinesDataFrame object or SpatialPolygonsDataFrame object and converts into a dataframe that can be plotted in ggplot2.


timtrice/Hurricanes documentation built on Oct. 8, 2018, 1:25 a.m.