.prep_aes | R Documentation |
ggplot2 geoms have default aesthetics which can be changed for each
session. This function is a generalised way to set geom defaults. It only
changes settings where the default is not NA; no need for geom_point
to have a default font family.
.prep_aes(geom, aes, setting)
geom |
(character) the geom to change (e.g. |
aes |
(character) the aesthetic to change (e.g. |
setting |
(various) what to set the aesthetic (e.g. a colour or a number) |
This is used inside '.set_grattab_aesthetics()'
the default aesthetic ready to be set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.