shp_to_df: shp_to_df

View source: R/gis.R

shp_to_dfR Documentation

shp_to_df

Description

Convert shapefile object to dataframe

Usage

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. 10, 2023, 8:15 p.m.