powered by
Trace a horizontal line on the plot
type_hline(h = 0)
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)
Run the code above in your browser using DataLab