Generate a vector of n
contiguous colours, as a red-yellow-green palette.
Source: R/heat_colours.R
heat_colours.Rd
Takes a numeric value n
and returns a character vector of colour HEX codes
corresponding to the heat map palette.
Arguments
- n
the number of colors (>= 1) to be in the palette.
- alpha
an alpha-transparency level in the range of 0 to 1 (0 means transparent and 1 means opaque)
- rev
logical indicating whether the ordering of the colors should be reversed.
See also
Other Support:
any_idate()
,
camel_clean()
,
check_inputs()
,
cut_hour()
,
extract_date_range()
,
extract_hr()
,
is_date_format()
,
maxmin()
,
pairwise_count()
,
read_preamble()
,
rgb2hex()
,
totals_bind()
,
totals_col()
,
tstamp()
,
us_to_space()
,
wrap()