spdf_from_polygon: Turn a SpatialPolygons object into a...

View source: R/UTILITY_FUNCTIONS.R

spdf_from_polygonR Documentation

Turn a SpatialPolygons object into a SpatialPolygonsDataFrame.

Description

Turn a SpatialPolygons object into a SpatialPolygonsDataFrame.

Usage

spdf_from_polygon(x)

Arguments

x

An SpatialPolygons object.

Value

A SpatialPolygonsDataFrame object.


FedData documentation built on Nov. 28, 2022, 9:05 a.m.