theme_ggdist: Simple, light ggplot2 theme for ggdist and tidybayes

Description Usage Details Value Author(s) See Also Examples

View source: R/theme_ggdist.R

Description

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

Usage

1
2
3
4
5
6
7
8
9

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

ggplot2::theme(), ggplot2::theme_set()

Examples

1
2
3
library(ggplot2)

theme_set(theme_ggdist())

ggdist documentation built on Jan. 5, 2021, 1:06 a.m.