euclideanDistance: Calculate the euclidean distance between two points

Description Usage Arguments Value

View source: R/addTextLabels.R

Description

Function used by addTextLabels()

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/addTextLabels documentation built on Nov. 23, 2019, 5:45 a.m.