increasefont: Increases font size of text

Description Usage Arguments Value Author(s) Examples

View source: R/increasefont.R

Description

Increases font size on all text in a ggplot2 graphic

Usage

1
  increasefont(Size = 18)

Arguments

Size

font size of all textual elements in a ggplot2 graphic

Value

ggplot2 theme code to increase the font size

Author(s)

Jim Albert

Examples

1
2
3
4
df <- data.frame(p=c(.1, .3, .5, .7, .9),
                 Prior=rep(1/5, 5))
ggplot(df, aes(p, Prior)) +
geom_point() + increasefont()

bayesball/ProbBayes documentation built on Nov. 30, 2020, 9:09 p.m.