compareR Documentation

compare

Description

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

Usage

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

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