Description Usage Arguments Value Note See Also
Identify the points that fall within a bounding box
1 | lxy.identify.aoi(lxy, aoi)
|
lxy |
A LoCoH-xy object |
aoi |
Area-of-interest, a two-column xy data frame containing the upper left point and the lower right point in the first and second rows respectively. |
A dataframe containing the ptid values and indices of the points from lxy
that fall within aoi
This function can be used to identify specific points on a plot. For example, you see a cluster of points on a locoh-xy plot,
and want to know when those points were recorded, and so on. To do this, you can use the aoi
function to define an area of interest box
on the plot window, and then use lxy.identify.aoi
to grab the indices and ptid values for that cluster of points.
You can then use this information as a parameter in lxy.subset
function to create a locoh-xy
object containing just that cluster of points.
aoi
, plot.locoh.lxy
, lxy.subset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.