layer_clone: Clone a ggplot2 layer object

Description Usage Arguments Value

Description

layer_clone returns an identical object to the input. This object can be manipulated without unintentionally affecting other instances of the layer through proto based referencing behaviour.

Usage

1
  layer_clone(layer)

Arguments

layer

a ggplot2 layer object, a glayer object, or a list of such objects

Value

a ggplot2 layer object, a glayer object, or a list of such objects


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