View source: R/utils_bool_to_colour.R
bool_to_colour | R Documentation |
Hex codes
bool_to_colour(
boolean,
colour_if_true = "#69C776",
colour_if_false = "#ED7676"
)
boolean |
TRUE/FALSE (boolean) |
colour_if_true |
colour to return if true (string) |
colour_if_false |
colour to return if false (string) |
colour code (string)
CRUX:::bool_to_colour(1==1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.