cond_color: Select a Colour Conditionally

Description Usage Arguments See Also

View source: R/dygraphs.R

Description

select a colour based on the true/false nature of a condition. Uses green as the "true" colour by default, "red" as false, and

Usage

1
cond_color(condition, true_color = "green")

Arguments

condition

a condition to be evaluated to produce a single TRUE or FALSE value

true_color

the colour used to represent a TRUE result. Green by default

See Also

Other Shiny Dashboarding: check_notify, cond_icon(), na_box(), time_frame_range()


wikimedia/wikimedia-discovery-polloi documentation built on Dec. 4, 2019, 2:12 p.m.