Identify different parts of a polygon
identifyParts(data, tol = NULL)
is a data frame with coordinates x, y, and order.
numerical tolerance for minimal distance between groups. If this value is not specified, a tolerace is derived from the marginal frequencey break down of observed (squared) distances between consecutive points.
data frame group variable is added to the input data