Learn R Programming

GeoRange (version 0.1.0)

PlotConvexHull: Plots the minimum convex hull of a set of coordinates

Description

Plots the minimum convex hull of a set of coordinates

Usage

PlotConvexHull(xcoord, ycoord, lcolor = "blue")

Arguments

xcoord

- Array of x-coordinates or longitudinal values

ycoord

- Array of y-coordinates or latitudinal values

lcolor

- String or integer value indicating the color of the convex hull boundary lines

Value

Plots a minimum convex hull

Examples

Run this code
longs<-c(20,20,40,40)
lats<-c(-5,5,-5,5)
PlotConvexHull(xcoord=longs,ycoord=lats)

Run the code above in your browser using DataLab