clickdist

0th

Percentile

Interactively Measure Distance

Measures the distance between two points which the user has clicked on.

Keywords
spatial, iplot
Usage
clickdist()
Details

This function allows the user to measure the distance between two spatial locations, interactively, by clicking on the screen display.

When clickdist() is called, the user is expected to click two points in the current graphics device. The distance between these points will be returned.

This function uses the R command locator to input the mouse clicks. It only works on screen devices such as ‘X11’, ‘windows’ and ‘quartz’.

Value

A single nonnegative number.

See Also

locator, clickppp, clicklpp, clickpoly, clickbox

Aliases
  • clickdist
Documentation reproduced from package spatstat, version 1.59-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.