ddpcr (version 1.11)

diff.point2d: Euclidean distance between two points

Description

Calculate the distance between two points in 2D space. If only one points is given, then the distance to the origin is calculated.

Usage

# S3 method for point2d
diff(x, y, ...)

Arguments

x, y

Points generated with point2d

See Also

point2d