Description Usage Arguments Details Author(s) See Also Examples

Function produces the Convex Hull of the given geometry, the smallest convex polygon that contains all subgeometries

1 | ```
gConvexHull(spgeom, byid=FALSE, id = NULL)
``` |

`spgeom` |
sp object as defined in package sp |

`byid` |
Logical determining if the function should be applied across subgeometries (TRUE) or the entire object (FALSE) |

`id` |
Character vector defining id labels for the resulting geometries, if unspecified returned geometries will be labeled based on their parent geometries' labels. |

Returns the convex hull as a SpatialPolygons object.

Roger Bivand & Colin Rundel

`gBoundary`

`gCentroid`

`gEnvelope`

`gPointOnSurface`

1 2 3 4 5 6 7 |

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.