tooClose: Checks whether a point is too close to any of the plotted...

Description Usage Arguments Value

View source: R/addNonOverlappingTestLabelsOrPoints.R

Description

Function used by addTextLabels() and addPoints()

Usage

1
tooClose(x, y, height, width, plottedLabelInfo)

Arguments

x

X coordinate of point of interest

y

Y coodrinate of point of interest

height

The height of the label associated with the point of interest

width

The width of the label associated with the point of interest

plottedLabelInfo

The coordinates and label information about the locations where a label has already plotted

Value

Returns a logical variable to indicate whether the point of interest was too close to any plotted labels


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.