compare: compare

Description Usage Arguments Value Examples

View source: R/compare.R

Description

Compare differences theme object e1 (new theme) to theme object e2 (old theme)

Usage

1
compare(e1, e2, verbose = TRUE)

Arguments

e1

theme object

e2

theme object

verbose

logical to control if the output is a character of script or a theme object (default TRUE)

Value

theme object or character depending on verbose

Examples

1
2
compare(ggplot2::theme_bw(),ggplot2::theme_get())
compare(ggplot2::theme_bw(),ggplot2::theme_get(),verbose=FALSE)

ggedit documentation built on July 8, 2020, 5:34 p.m.