ggThemeAssist: RStudio Addins

Description Usage Arguments Details Value Examples

View source: R/ggThemeAssist.R

Description

Addin to help style your ggplot2 themes

ggThemeAssist is a RStudio-Addin that delivers a graphical interface for editing ggplot2 theme elements.

Usage

1

Arguments

plot

A ggplot2 plot object to manipulate its theme.

Details

To run the addin, either highlight a ggplot2-object in your current script and select ggThemeAssist from the Addins-menu within RStudio, or run ggThemeAssistGadget(plot) with a ggplot2 object as the parameter. After editing themes and terminating the addin, a character string containing the desired changes is inserted in your current script.

Value

ggThemeAssist returns a character vector.

Examples

1
2
3
4
5
6
7
## Not run: 
# example for ggThemeAssist command line usage.
library(ggplot2)
gg <- ggplot(mtcars, aes(x = hp, y = mpg, colour = as.factor(cyl))) + geom_point()
ggThemeAssistGadget(gg)

## End(Not run)

ggThemeAssist documentation built on May 2, 2019, 9:39 a.m.