Description Usage Arguments Tidy evaluation See Also
View source: R/gg-constructors.R
If specified as part of a layer, fields left blank will be inherited from the parent.
1 |
x |
The x variable |
y |
The y variable |
group |
If your data are in long form, which variable defines the groups |
facet |
If you data are in long form, which variable defines the facets (facets split data across panels) |
order |
Which variable to order the x-ticks by |
Aesthetics use tidy evaluation. This means any of can be expressions composed of variables in the data, rather than just variable names. For instance, you could do 'order = desc(some_variable)', or 'y = my_variable^2'.
The plotting options vignette provides some examples of aesthetics using tidy evaluation.
vignette("plotting-options", package = "arphit")
for a
detailed description of all the plotting options
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.