cloneRoot: clone root of ggplot object

Description Usage Arguments Value See Also Examples

View source: R/clone_root.R

Description

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

Usage

1
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

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

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