Learn R Programming

Momocs (version 0.2-03)

coo.perim.pts: Calculates the euclidean distance between points of a list or matrix of coordinates.

Description

coo.perim.pts returns the euclidean distances between all successive (x; y) coordinates.

Usage

coo.perim.pts(coo)

Arguments

coo
A list or a matrix of coordinates.

Value

  • Returns a vector of euclidean distances.

See Also

ed, coo.perim.

Examples

Run this code
data(bot)
coo.perim.pts(bot@coo[[1]])

Run the code above in your browser using DataLab