View source: R/ggplot_integration.R
| ggplot_add.vbracket_legend | R Documentation |
Add vbracket legend to ggplot
## S3 method for class 'vbracket_legend'
ggplot_add(object, plot, ...)
object |
A vbracket_legend object |
plot |
A ggplot object |
... |
Additional arguments (not used) |
A ggplot object (classes "gg" and "ggplot") with the vbracket legend incorporated.
The plot's default legend is typically suppressed and a custom vbracket legend showing statistical comparison brackets is added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.