| -.gg | R Documentation |
Inserts a layer underneath the existing layers on a ggplot
object simply by calling plot - layer instead of the usual plot +
layer.
Insère un calque sous les calques existants sur un objet ggplot
simplement en appelant plot - layer au lieu de l'habituel plot +
layer.
## S3 method for class 'gg'
plot - layer
plot |
The plot to which the layer should be added. Le tracé auquel le calque doit être ajouté. |
layer |
The layer to add to the plot. La couche à ajouter au tracé. |
The ggplot2 plot object, with layer layer added underneath.
L'objet ggplot2 plot, avec le calque layer ajouté en dessous.
From https://stackoverflow.com/a/64011534
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.