get_click_color {plothelper}R Documentation

Obtaining the Colors of Positions Clicked

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

get_click_color(x)

Arguments

x

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


[Package plothelper version 0.1.9 Index]