theme_ggstatsplot: Default theme used in '{ggstatsplot}'

View source: R/theme-ggstatsplot.R

theme_ggstatsplotR Documentation

Default theme used in {ggstatsplot}

Description

Common theme used across all plots generated in {ggstatsplot} and assumed by the author to be aesthetically pleasing to the user/reader. The theme is a wrapper around theme_bw().

All {ggstatsplot} functions have a ggtheme parameter that let you choose a different theme.

Usage

theme_ggstatsplot()

Value

A ggplot object with the theme_ggstatsplot theme overlaid.

Examples

library(ggplot2)

ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_ggstatsplot()

ggstatsplot documentation built on Sept. 11, 2024, 7:48 p.m.