Learn R Programming

gglogo (version 0.1.5)

mainPlusIslands: Set the orientation of a polygon

Description

Set the orientation of a polygon

Usage

mainPlusIslands(imdf)

Arguments

imdf

dataframe describing a pixellated image in x and y. Has to have columns x, y, and group

Value

reordered version of data frame imdf consistent with an assumption of group 1 being the main outline and any other groups being cutouts