Description Usage Arguments Value Examples
Adds a dummy text layer to a ggplot to label facets and sets facet strips to blank. This is the typical formatting for some journals that consider facets as subfigures and want to minimise margins around figures.
1 2 3 |
p |
ggplot |
open |
opening character, default: ( |
close |
closing character, default: ) |
tag_pool |
character vector to pick tags from |
x |
x position within panel, default: -Inf |
y |
y position within panel, default: Inf |
hjust |
hjust |
vjust |
vjust |
fontface |
fontface |
family |
font family |
... |
further arguments passed to geom_text layer |
plot with facet strips removed and replaced by in-panel tags
1 2 3 4 5 6 7 8 9 10 11 12 |
Loading required package: gridExtra
Loading required package: ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.