Learn R Programming

gglogo (version 0.1.5)

identifyParts: Identify different parts of a polygon

Description

Identify different parts of a polygon

Usage

identifyParts(data, tol = NULL)

Arguments

data

is a data frame with coordinates x, y, and order.

tol

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.

Value

data frame group variable is added to the input data