increasefont {ProbBayes}R Documentation

Increases font size of text

Description

Increases font size on all text in a ggplot2 graphic

Usage

  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

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

[Package ProbBayes version 1.1 Index]