remove_axes | R Documentation |
remove_axes()
and remove_grid()
are convenience functions that removes
the axes and grids from a ggplot, respectively. This is useful when you want
to use an existing theme, e.g. those included in ggplot2
, for a DAG.
remove_axes()
remove_grid()
library(ggplot2)
ggdag(confounder_triangle()) +
theme_bw() +
remove_axes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.