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

View source: R/gg_vetting.R

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

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