intra.point.dist: Intra point/position distance

Description Usage Arguments Value See Also Examples

View source: R/intra.point.dist.R

Description

For a data frame of positions return the vector of intra point distances

Usage

1

Arguments

x

List of positions with components lat and lon.

Value

Vector of distances between the points in x.

See Also

arcdist

Examples

1
2
3
4
# distances along the perimeter of a statistical rectangle
pos <- rPeri(323)
intra.point.dist(pos)
sum(intra.point.dist(pos))

geo documentation built on May 29, 2017, 5:36 p.m.