scale ID continuous
scale_id_continuous.Rd
Convenience wrapper to ggplot2::continuous_scale
to allow use of
idpalette
or any arbitrary set of colours to be used as a ggplot2
fill
or colour scale
Usage
scale_id_continuous(
cols,
aesthetics = c("fill", "colour"),
na.value = "transparent",
guide = "colourbar"
)
Arguments
- cols
character
. A vector of colours- aesthetics
Scale aesthetic.
- na.value
Garn - whaddaya want in the
NA
s?- guide
A function used to create a guide or its name. See
ggplot2::guides()
for more information