Learn R Programming

ggedit (version 0.4.1)

compare: compare

Description

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

Usage

compare(e1, e2, verbose = TRUE)

Value

theme object or character depending on verbose

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)

Examples

Run this code
compare(ggplot2::theme_bw(),ggplot2::theme_get())
compare(ggplot2::theme_bw(),ggplot2::theme_get(),verbose=FALSE)

Run the code above in your browser using DataLab