scale_adjusted()
is a convenience function that implements ways of
visualizing adjustment for a variable. By convention, a square shape is used
to indicate adjustment and a circle when not adjusted. Arrows out of adjusted
variables are often eliminated or de-emphasized, and scale_adjusted()
uses
a lower alpha
for these arrows. When adjusting a collider, a dashed line is
sometimes used to demarcate opened pathways, and scale_adjusted()
does this
whenever geom_dag_collider_edges()
is used. scale_dag()
is deprecated in
favor of scale_adjusted()
.
Usage
scale_adjusted(include_alpha = FALSE)
scale_dag(breaks = ggplot2::waiver())