scale | R Documentation |
These functions allow you to apply the CLESSN's discrete scales.
scale_discrete_quorum(aesthetics, ..., values, breaks = ggplot2::waiver())
aesthetics |
Character string or vector of character strings listing the
name(s) of the aesthetic(s) that this scale works with. This can be useful, for
example, to apply colour settings to the |
... |
Arguments passed on to
|
values |
a set of aesthetic values to map data values to. The values
will be matched in order (usually alphabetical) with the limits of the
scale, or with |
breaks |
One of:
|
Judith Bourque
## Not run:
p <- ggplot2::ggplot(data = ggplot2::mpg) +
ggplot2::geom_point(mapping = ggplot2::aes(x = displ, y = cty, colour = class)) +
ggplot2::labs(
title = "Look at this graph!",
subtitle = "What a great look, eh?",
caption = "Data: Twitter API \nCLESSN"
)
p + scale_discrete_quorum(aesthetics = "colour")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.