inUSR: does a given pairlist of x and y coordinates fall within the...

Description Usage Arguments Value

View source: R/ggb.R

Description

Check to see if a point clicked falls in the plot or outside it. This function is used by ggbChooseAges().

Usage

1
inUSR(USR, click)

Arguments

USR,

as given by par("usr")

click

a pairlist with elements $x and $y, as returned by locator(1)

Value

logical. TRUE if in the plot region.


DDM documentation built on May 2, 2019, 6:16 a.m.

Related to inUSR in DDM...