glayer: Create a glayer object

Description Usage Arguments

Description

glayer gives a ggplot2 layer object the S4 class glayer, see glayer-class. ggplot layer objects are usually non-specific proto class objects. A layer should contain an embed variable before being given the class 'glayer.' See the function bodies of glyph and grid for examples.

Usage

1
  glayer(layer)

Arguments

layer

a proto object that can be used as a layer by the ggplot2 package (i.e, ggplot() + layer should return a graph).


garrettgman/ggplyr documentation built on May 16, 2019, 5:38 p.m.