theme_vmisc: A base ggplot2 theme used by other themes in the vmisc...

Description Usage Arguments Examples

View source: R/themes.R

Description

A clean theme with inward tickmarks, (optional) dotted gridlines and a few other common options. Based on ggplot2::theme_grey().

Usage

1
2
theme_vmisc(base_size = 12, base_family = "Helvetica", legend = "none",
  grid = FALSE, facet_label = FALSE)

Arguments

base_size

Text size (defaults to 12).

base_family

Text font family (defaults to Helvetica).

legend

Position of legend. One of "top", "bottom", "left", "right", or "none" (default).

grid

Display (major) gridlines? Defaults to FALSE.

facet_label

Display facet labels? Defaults to FALSE.

Examples

1
2
3
4
5
library(ggplot2)
library(vmisc)
p <- ggplot(mtcars, aes(x = mpg, y = wt)) +
     geom_point()
p + theme_vmisc()

mvuorre/vmisc documentation built on May 23, 2019, 10:56 a.m.