Delete or move one or more layers in a ggplot object.
edit_layers(x, match_type = NULL, position = 0L, idx = NULL, action)
an object of class gg
to be operated upon.
The name of the ggproto object class for the geom(s), position(s) or stat(s) matching that of the layers to be operated upon.
integer vector Index(es) into the list of layers, used to select the layers to be operated upon.
character One of "delete", "move", or "which".