si_style_ygrid | R Documentation |
Incorporates the default si_style graph and modifies it to include on y-axis gridlines. Useful for when you are highlighting a horizontal comparison.
si_style_ygrid(...)
... |
inherits parameters from |
## Not run:
library(systemfonts)
library(ggplot2)
ggplot(iris, aes(Sepal.Length, y = Sepal.Width, colour = Species)) +
geom_point() + si_style_ygrid()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.