ggLin: Jennifer's ggplot2 Theme

Description Usage Arguments Details Examples

Description

I find that I am copying and psting the same long command for my favorite theme settings, so I figure I'd write that into this package to simplify the process.

Usage

1

Arguments

...

Passed to [ggplot2::theme()]

Details

The specifications of this theme is as follows:
theme_classic()+
theme(
plot.title = element_text(hjust = 0.5, size = 24, colour="black"),
plot.subtitle = element_text(hjust = 0.5, size = 18, colour="black"),
legend.title = element_text(hjust = 0.5, size = 16, colour="black"),
plot.caption = element_text(size = 12, colour="black"),
axis.title = element_text(size = 16, colour="black"),
axis.text.x = element_text(size = 14, colour="black"),
axis.text.y = element_text(size = 14, colour="black"),
legend.title.align = 0.5)

Examples

1
2
3
4
library(ggplot2)
ggplot(mtcars, aes(y=mpg, x=disp, color=cyl)) +
  geom_point() +
  theme_lin()

lin-jennifer/lin documentation built on Jan. 1, 2021, 8:21 a.m.