Learn R Programming

dagR (version 1.2.1)

distPoints: Calculate distance between two points.

Description

Another rather superfluous helper function, internally used by smoothArc. Calculates the distance between two points.

Usage

distPoints(A, B)

Value

Distance between the two points.

Arguments

A

Vector of length two, indicating x and y of first point.

B

Vector of length two, indicating x and y of second point.

Author

Lutz P Breitling <l.breitling@posteo.de>