p2p: Interactively Measure Point-to-Point Distances

View source: R/p2p.R

p2pR Documentation

Interactively Measure Point-to-Point Distances

Description

Use the locator function in base graphics to interactively measure distances between pairs of points on an existing image. End the interaction pressing the Esc key or control-clicking.

Usage

p2p(n = 512, col = "magenta", type = "o", pch = 3, ...)

Arguments

n

Maximum number of pairs to measure, integer.

col, type, pch

Values handed to locator.

...

Additional values handed to locator.

Value

Distances between points with locator in pixels.


ornelles/virustiter documentation built on March 15, 2024, 9:28 a.m.