View source: R/get_click_color.R
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.
1 |
x |
a raster object, or an image loaded by
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.