euclideanDistance: Calculate the euclidean distance between two points

Description Usage Arguments Value

View source: R/addNonOverlappingTestLabelsOrPoints.R

Description

Function used by addTextLabels() and addPoints()

Usage

1
euclideanDistance(x1, y1, x2, y2)

Arguments

x1

The X coordinate of the first point

y1

The Y coordinate of the first point

x2

The X coordinate of the second point

y2

The Y coordinate of the second point

Value

Returns the distance between the points provided


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