Learn R Programming

geo (version 1.4-3)

geo.Split.poly: Split a polygon into a list

Description

Split a 'polygon with NAs' into a list of true polygons before calculating its area.

Usage

geo.Split.poly(data)

Arguments

data
A dataframe of coordinates in latitude and longitude

Value

Returns a list of true polygons as dataframes, each with coordinates
lat
Latitude
lon
Longitude

See Also

Called by geoarea.