Do an arbitrary set of operations on a polygon
polygonClean(poly, fn = NULL, type = NULL, ...)A polygon object, or a character string identifying the shapefile path to load, and clean.
A function identifying the type of cleaning to do.
If fn is not known, an character string can be specified to
identify which fn to use.
This must be a known type for this function.
Passed to fn