type_hline | R Documentation |
Trace a horizontal line on the plot
type_hline(h = 0)
h |
y-value(s) for horizontal line(s). Numeric of length 1 or equal to the number of facets. |
tinyplot(mpg ~ hp | factor(cyl), facet = ~ factor(cyl), data = mtcars)
tinyplot_add(type = type_hline(h = 12), col = "pink", lty = 3, lwd = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.