image_locator {plothelper} | R Documentation |
Get the Width and Height of the Mouse Clicked Points
Description
This function simply gets the width and height values of the points on which you click. The result is a list of two vectors, the first vector is for width, the second for height.
Usage
image_locator(x, rectangle = FALSE)
Arguments
x |
a raster object, or an image loaded by
|
rectangle |
if it is FALSE (default), the result list contains the width and height values. If it is TRUE, only the left, right, top, bottom values of the rectangle designated by your clicking are returned. |
[Package plothelper version 0.1.9 Index]