Skip to contents

This function is a wrapper around ggplot2::theme(). To use the required theme helper functions ggplot2::element_blank(), ggplot2::element_rect(), ggplot2::element_line(), and ggplot2::element_text() you need to either load the ggplot2 package via library(ggplot2) or use the ggplot2:: prefix as shown above.

Usage

adjust_theme_details(plot, ...)

Arguments

plot

A tidyplot generated with the function tidyplot().

...

Arguments passed on to the geom function.

Value

A tidyplot object.

Examples

study %>%
  tidyplot(x = treatment, y = score, color = treatment) %>%
  add_data_points_beeswarm() %>%
  add_mean_bar(alpha = 0.4) %>%
  adjust_theme_details(plot.background = ggplot2::element_rect(fill = "#FFEBFF"))