gg_vetting {ggedit}R Documentation

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"))

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')

Value

data.frame

Examples

gg_vetting(pList$boxplotWrap)
lapply(pList,gg_vetting)

[Package ggedit version 0.4.1 Index]