Description Usage Arguments Value Note Examples

View source: R/PlotConvexHull.R

Plots the minimum convex hull of a set of coordinates

1 | ```
PlotConvexHull(xcoord, ycoord, lcolor = "blue")
``` |

`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 |

Plots a minimum convex hull

This function does not account for the possibility of points crossing the prime meridian and in cases where this occurs the convex hull shown will be incorrect

1 2 3 | ```
longs<-c(20,20,40,40)
lats<-c(-5,5,-5,5)
PlotConvexHull(xcoord=longs,ycoord=lats)
``` |

GeoRange documentation built on June 20, 2017, 9:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.