reverse_theme: Convert plot 'theme' into code to create it

Description Usage Arguments Details Value

Description

For incomplete themes, produce an explicit theme() call with all theme arguments.

Usage

1

Arguments

theme

a ggplot2 theme object

Details

Otherwise, try and match against the standard ggplot themes.

Value

Character string "theme_XXX(...)" or "theme(...)" or NULL


coolbutuseless/ggreverse documentation built on June 4, 2019, 5:12 p.m.