theme_zlab: Implement the base Zamanian Lab theme for ggplot2 plots

Description Usage Arguments Examples

View source: R/theme_zlab.R

Description

Implement the base Zamanian Lab theme for ggplot2 plots

Usage

1
theme_zlab(base_size = 16, base_family = "helvetica")

Arguments

base_size

An integer.

base_family

A font.

Examples

1
2
3
4
5
6
7
8
9
library("ggplot2")

box <- ggplot(data = iris, aes(x = Species, y = Sepal.Length)) +
  geom_boxplot(aes(fill = Species)) +
  ylab("Sepal Length") + ggtitle("Iris Boxplot") +
  stat_summary(fun = mean, geom = "point", shape = 5, size = 4) +
  theme_zlab() +
  scale_fill_transgenes()
box

zamanianlab/ZamanianLabREnvironment documentation built on Nov. 21, 2021, 2:03 p.m.