geom_h0 | R Documentation |
This geom allows you to annotate the plot with horizontal lines on y = 0.
geom_h0(dashed = FALSE)
dashed |
A locigal to have a dashed line. |
p <- ggplot(mtcars, aes(x = wt, y=mpg)) + geom_point()
p + geom_h0()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.