Use this function to move a certain plot layer up or down.
Usage
move_layer(plot, move = -1, layer = length(plot$layers))Arguments
- plot
A
ggplotobject.- move
Number of layers to move
layer: a negative value moves it down (drawn earlier, so below other layers), a positive value moves it up. The new position is limited to the existing layers. Defaults to-1, one layer down.- layer
The number of the layer to move, defaults to the top layer.

