get.colors: Choose an R standard color or get the RGB-code of an...

Description Usage Arguments Author(s) Examples

Description

Function lets the user choose a color via a tcltk widget in case it is called with default value of paramater 'continuous'. Otherwise, it plots a grid of differently colored tiles, which can be used to select as many colors as desired by simply clicking at the corresponding tiles.

Usage

1
get.colors(continuous = TRUE)

Arguments

continuous

(logical) TRUE = one or multiple colors can be chosen from the RGB color-space via a tcltk-widget FALSE = a grid is drawn where R standard colors can be selected by clicking on colored-tiles

Author(s)

Andre Schuetzenmeister [email protected]

Examples

1
2
3
4
5
6
7
8
9
## get R standard color
 get.colors(FALSE)

## get RGB-code (hexadecimal) via tcltk-widget
 ## Not run: 
     get.colors()
 
## End(Not run)
 

lengning/gClinBiomarker documentation built on May 9, 2019, 2:55 p.m.