theme_poc: POC theme for ggplot

Description Usage Arguments

View source: R/themes.R

Description

Based off of theme_bw, this frames the plot in POC blue, eliminated minor grid lines, and will try to match to a POC font. There are also some other options.

Usage

1
2
theme_poc(font = "Open Sans", slant = FALSE, gridlines = c("xy", "x", "y",
  "", "none", NA), expand.margin = FALSE, ...)

Arguments

font

Partial-matches to "Arial", "PT Sans" (for web) or "Frutiger LT Std 45 Light" (for print).

slant

boolean for whether x-axis labels should be slanted. (FALSE)

gridlines

What gridlines to include. Deafult is "xy". Use "x" or "y" for x or y only, any of "", NA, or "none" will result in no lines.

expand.margin

boolean for whether the right margin needs padding. Useful if slant is TRUE and the labels on the right side are lengthy.

...

additional arguments passed to theme_bw


pocdata/pocr documentation built on Jan. 5, 2022, 9:54 a.m.