active | R Documentation |
These settings control the behavior of the plot when added to a layout, as well as the arrangement of individual plot areas within the layout.
active(order = waiver(), use = waiver(), name = waiver())
order |
An integer specifying the order of the plot area within the layout. |
use |
A logical ( |
name |
A string specifying the plot's name, useful for switching active
contexts through the |
By default, the active context is set only for functions that add plot areas.
This allows other ggplot2
elements-such as geoms
, stats
, scales
, or
themes
- to be seamlessly added to the current plot area.
The default ordering of the plot areas is from top to bottom or from left to
right, depending on the layout orientation. However, users can customize this
order using the order
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.