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/rrricanes documentation built on Oct. 11, 2023, 2:25 a.m.