Learn R Programming

ggedit (version 0.4.1)

gg_vetting: Backcheck what functions created the layers in a ggplot2 plot object

Description

Validate geoms with their unique attributes

Usage

gg_vetting(p, obj = ggedit_opts$get("session_geoms"))

Value

data.frame

Arguments

p

gg, compiled ggplot object

obj

data.frame, contains the mapping of layer functions as created in gg_session(), Default: ggedit_opts$get('session_geoms')

Examples

Run this code
gg_vetting(pList$boxplotWrap)
lapply(pList,gg_vetting)

Run the code above in your browser using DataLab