Turn a SpatialPolygons object into a SpatialPolygonsDataFrame.

Description

Turn a SpatialPolygons object into a SpatialPolygonsDataFrame.

Usage

1
spdf_from_polygon(x)

Arguments

x

An SpatialPolygons object.

Value

A SpatialPolygonsDataFrame object.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.