facet_set | R Documentation |
add a facet label to a ggplot or change facet label of a ggplot
facet_set(label, side = "t", angle = NULL)
label |
a character or a named vector to label the plot |
side |
to label the plot at which side, either 't' (top) or 'r' (right) |
angle |
angle of the facet label. Default is 0 for side='t' and -90 for side='r'. |
a ggplot with facet label
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.