Learn R Programming

ggedit (version 0.4.1)

cloneRoot: 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)

Value

gg object or script

Arguments

obj

ggplot object

verbose

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

See Also

Examples

Run this code
 cloneRoot(pList$pointSmooth)
 cloneRoot(pList$pointSmooth,verbose=TRUE)

Run the code above in your browser using DataLab