merge_overlaps: Identify and merge overlapping glyph assignments

Description Usage Arguments Value

Description

merge_overlaps checks glyph positions against glyph width and heights to identify groups of overlapping glyphs. It then computes an alternative GLYPH variable that assigns all glyphs in an overlapping group to the same name.

Usage

1

Arguments

globals

a data frame of glyph names and positions

width

glyph width in the same units as the global x positions

height

glyph height in the same units as global y positions

Value

A named vector The names of the vector correspond to old glyph assignments, the values correspond to new assignments that merge overlapping glyphs.


garrettgman/ggplyr documentation built on May 16, 2019, 5:38 p.m.