Sets global options for ggplot2. If type = "grattan", grattan brand elements (colours and fonts) will be used by default in ggplot. To restore the defaults use type = "vanilla".

set_aesthetics(type)

Arguments

type

(character) Which aesthetics to use? One of "grattan" or "vanilla".

Examples

if (FALSE) {
set_aesthetics(type = "vanilla")
}