ukp_geo_chull: Compute convex hull of long/lat points

Description Usage Arguments Value Examples

Description

ukp_geo_chull computes the convex hull of some lon/lat points, returning a dataframe of the polygon position.

Usage

1
ukp_geo_chull(data, long, lat)

Arguments

data

a dataframe

long

longitude, a character naming the long name

lat

latitude, a character naming the lat name

Value

a dataframe with the positions for the polygon.

Examples

1
2
3
ukp_geo_chull(york,
              "long",
              "lat")

njtierney/ukpolice documentation built on May 23, 2019, 8:23 p.m.