yline | R Documentation |
Adds horizontal lines in the plot region.
yline(y, ...)
y |
Values on y axis specifying location of vertical lines. |
... |
Any ploting options for abline. |
xline, abline
plot( 1:10) yline( 4.0, col=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.