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.
Arguments
- plot
A
tidyplotgenerated with the functiontidyplot().- ...
Arguments passed on to the
geomfunction.
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"))