lxy.identify.aoi: Identify the points that fall within a bounding box

Description Usage Arguments Value Note See Also

Description

Identify the points that fall within a bounding box

Usage

1

Arguments

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.

Value

A dataframe containing the ptid values and indices of the points from lxy that fall within aoi

Note

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.

See Also

aoi, plot.locoh.lxy, lxy.subset


tlocoh documentation built on May 2, 2019, 5:27 p.m.