get_click_color: Obtaining the Colors of Positions Clicked

Description Usage Arguments

View source: R/get_click_color.R

Description

The function draws an image and asks the user to click on the positions whose colors the user wants to know. NOTE: after clicking, you must press Esc button to continue. The result is a vector of colors in hex mode.

Usage

1

Arguments

x

a raster object, or an image loaded by magick::image_read or the filename of that image.


plothelper documentation built on July 2, 2020, 4:03 a.m.