| spatstatLocator {spatstat.utils} | R Documentation |
This is an alternative to the locator
function. It contains a workaround for a bug that occurs in
RStudio.
spatstatLocator(n, type = c("p", "l", "o", "n"), ...)
n |
Optional. Maximum number of points to locate. |
type |
Character specifying how to plot the locations.
If |
... |
Additional graphics parameters used to plot the locations. |
This is a replacement/workaround for the locator
function in some versions of RStudio which do not seem to
recognise the option type="p".
See locator for a description of the
behaviour.
A list containing components x and y which are vectors
giving the coordinates of the identified points in the
user coordinate system, i.e., the one specified by par("usr").
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.
if(interactive()) locator(1, type="p")