Description Usage Arguments Examples
Remove a specific component from a ggplot.
1 | rremove(object)
|
object |
character string specifying the plot components. Allowed values include:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Load data
data("ToothGrowth")
# Basic plot
p <- ggboxplot(ToothGrowth, x = "dose", y = "len",
ggtheme = theme_gray())
p
# Remove all grids
p + rremove("grid")
# Remove only x grids
p + rremove("x.grid")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.