Creates a 20% expanded convex hull from a set of coordinates.
Usage
Convex_20(
DF,
lon = "decimalLongitude",
lat = "decimalLatitude",
proj = "+proj=longlat +datum=WGS84 +no_defs"
)
Arguments
- DF
The dataframe containing the coordinates.
- lon
The name of the longitude column in the dataframe.
- lat
The name of the latitude column in the dataframe.
- proj
The projection of the coordinates.
Examples
DF <- data.frame(decimalLongitude =
c(23.978543, 23.785003, 11.485, -2.054027, 12.9069),
decimalLatitude =
c(38.088876, 60.238213, 48.165, 53.33939, 56.80782))
Convex_20(DF, lon = "decimalLongitude", lat = "decimalLatitude",
proj = "+proj=longlat +datum=WGS84 +no_defs")