Locate events on the current plot (using the
vector of event IDs (optional).
maximum number of events to locate.
This function allows its user to define events with mouse clicks on
the current plot via the
locator function. The
type are the usual parameters of the
locator function. If
EID is not missing, then
n = length(EID).
On exit from
locator, suppose the user defined m
EID was missing, then the output data frame will
contain m events. However, if
EID exists, then the
output data frame will contain
length(EID) events, and both
Y will be
NA for events
can remove rows with
EventData with columns
projection attribute equal to the map's projection. The
function does not set the
Nicholas M. Boers, Associate Professor – Computer Science
MacEwan University, Edmonton AB
#--- define five events on the current plot, numbering them 10 to 14 ## Not run: events <- locateEvents(EID = 10:14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.