theme_james: James's ggplot2 theme

Description Usage Arguments Value See Also Examples

View source: R/theme_james.R

Description

Code based on theme_karl: https://github.com/kbroman/broman/blob/master/R/theme_karl.R and theme_unicorn: https://www.r-bloggers.com/how-to-create-a-ggplot-theme-unicorn-edition/

Usage

1

Arguments

...

Passed to [ggplot2::theme()]

base_size

Base font size

base_family

Base font family

Value

An object as returned by [ggplot2::theme()]

See Also

[ggplot2::theme()]

Examples

1
2
3
4
library(ggplot2)
mtcars$cyl <- factor(mtcars$cyl)
ggplot(mtcars, aes(y=mpg, x=disp, color=cyl)) +
    geom_point() + theme_james()

jamesmartherus/martherus documentation built on April 12, 2020, 7:01 p.m.