ggtemp: My ggplot2 template

Description Usage Arguments Value

View source: R/ggtemp.r

Description

My ggplot2 template

Usage

1
2
3
4
5
6
ggtemp(
  flip = FALSE,
  family = NULL,
  size = list(title = 13, text = 9, caption = 11),
  legend_key_size = 1
)

Arguments

flip

logical value to whether ggplot2::coord_flip() is implemented.

family

specify font registered in grDevices::windowsFonts()

size

list of font size. title is axis.title and legend.title. text is axis.text and legend.text. caption is plot.caption.

legend_key_size

specify legend.key.size. Unit is "cm."

Value

return an object whose class is gg and theme.


KatoPachi/Rkato documentation built on Dec. 18, 2021, 2:42 a.m.