cloneRoot: clone root of ggplot object

View source: R/clone_root.R

cloneRootR Documentation

clone root of ggplot object

Description

clone root of ggplot object and return either a new gg object or a string to parse and evaluate

Usage

cloneRoot(obj, verbose = FALSE)

Arguments

obj

ggplot object

verbose

boolean, toggles to return object or script (TRUE), Default: FALSE

Value

gg object or script

See Also

capture.output

Examples

 cloneRoot(pList$pointSmooth)
 cloneRoot(pList$pointSmooth,verbose=TRUE)

ggedit documentation built on May 29, 2024, 3:07 a.m.