Remove a ggplot Component
Remove a specific component from a ggplot.
rremove(object)
object |
character string specifying the plot components. Allowed values include:
|
# 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")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.