Skip to contents

A theme function to add to a ggplot2 object for publication style plots. Function adapted from HanjoStudy/quotidieR.

Usage

theme_Publication(base_size = 14)

Arguments

base_size

size of text in graph

Value

theme function to add to a ggplot2 object

See also

Link for executed Examples which includes any figure outputs.

Examples

# Load an example dataset
data(iris)

# Create a ggplot modified with theme_Publication()
library(ggplot2)
ggplot(data = iris, aes(x = Species, colour = Species, y = Petal.Length)) +
   geom_boxplot() +
   theme_Publication()