Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

theme_ggdist

Simple, light ggplot2 theme for ggdist and tidybayes


Description

A simple, relatively minimalist ggplot2 theme, and some helper functions to go with it.

Usage

theme_ggdist()

theme_tidybayes()

facet_title_left_horizontal()

facet_title_right_horizontal()

axis_titles_bottom_left()

Details

This is a relatively minimalist ggplot2 theme, intended to be used for making publication-ready plots. It is currently based on ggplot2::theme_light().

A word of warning: this theme may (and very likely will) change in the future as I tweak it to my taste.

theme_ggdist() and theme_tidybayes() are aliases.

Value

A named list in the format of ggplot2::theme()

Author(s)

Matthew Kay

See Also

Examples

library(ggplot2)

theme_set(theme_ggdist())

ggdist

Visualizations of Distributions and Uncertainty

v2.4.0
GPL (>= 3)
Authors
Matthew Kay [aut, cre]
Initial release
2021-01-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.