Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pickCol

Pick a Colour From a Palette and get the Hexadecimal Code


Description

Display an interactive colour palette from which the user can choose a colour.

Usage

pickCol(returnValue=TRUE)

Arguments

returnValue

If TRUE, display the full colour palette, choose a colour, and return the hex value to the R session.
If FALSE, use an intermediate GUI to interact with the palette and display the hex value of the chosen colour.

Value

A hexidecimal colour value.

Author(s)

Alex Couture-Beil, Vancouver Island University, Nanaimo BC

See Also

Examples

## Not run: 
local(envir=.PBSmodEnv,expr={
  junk<-pickCol(); resetGraph()
  addLabel(.5,.5,junk,cex=4,col=junk)
})

## End(Not run)

PBSmodelling

GUI Tools Made Easy: Interact with Models and Explore Data

v2.68.8
GPL (>= 2)
Authors
Jon T. Schnute [aut], Alex Couture-Beil [aut], Rowan Haigh [aut, cre], Nicholas Boers [ctb], Anisa Egeli [ctb], A. R. Kronlund [ctb], Steve Martell [ctb], Norm Olsen [ctb]
Initial release
2019-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.