figtheme: Apply a standard clean theme to a ggplot figure

Description Usage Arguments Value Author(s) Examples

View source: R/figtheme.R

Description

Apply a standard clean theme to a ggplot figure

Usage

1
figtheme(fig, legend = "right", brewer = "Set3")

Arguments

fig

A ggplot figure

legend

Position of the legend according to a string (top/down/left/right) or a vector of coordinates between 0 and 1

brewer

A string designate a set of brewer colors. Defaults to 'Set3'

Value

Return a new ggplot object with the new theme embedded

Author(s)

Guillaume T. Vallet gtvallet@gmail.com, University of Montreal (Canada)

Examples

1

Cogitos/statxp documentation built on March 22, 2021, 6:38 a.m.