Description Usage Arguments Value Note See Also Examples
Converts a dataframe with upper-left / lower-right coordinates of a box to a closed polygon
1 |
aoi |
A two-column two-row data frame or matrix with x in the first column and y in the second columm. The upper left point and the lower right point in the first and second rows respectively |
Two column dataframe containing the xy coordinates of a closed rectangle that can be plotted using points
or polygons
You can use the aoi
function to select two coordinates on the active plot window with the mouse. This function facilitates plotting that rectangle.
1 2 3 4 5 | ## Not run:
myaoi <- aoi()
polygons(myaoi)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.