add_label_unit | R Documentation |
Ajoute un label pour les unités sur le plus grand des labels y
add_label_unit(plot, ylabel = "")
plot |
un graphique ggplot |
ylabel |
string, un label |
un graphique ggplot
## Not run:
library(ggplot2)
plot <- ggplot(mtcars) +
geom_point(aes(x=mpg, y=hp, size=cyl, col=gear)) +
theme_ofce(base_family="Nunito")
# plot |> add_label_unit("horse power")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.