airdist: Measure distance from plot

Description Usage Arguments Value Author(s) See Also

View source: R/airdist.R

Description

Measure a distance between two points on a plot using locator; the function checks par("plt") and par("usr") to try to ensure that the aspect ratio y/x is 1, that is that the units of measurement in both x and y are equivalent.

Usage

1

Arguments

ann

annotate the plot with line measured and distance

Value

a list with members:

dist

distance measured

coords

coordinates between which distance is measured

Author(s)

Roger Bivand Roger.Bivand@nhh.no

See Also

locator


spdep documentation built on May 29, 2017, 1:04 p.m.

Search within the spdep package
Search all R packages, documentation and source code