View source: R/addLinesToPlot.R
addLinesToPlot | R Documentation |
Adds a gray dashed line to the plot at the intercepts
addLinesToPlot(plot, yintercept = 0, xintercept = 0)
plot |
The plot to add the lines to. |
yintercept |
The y axis intercept for the horizontal line. |
xintercept |
The x axis intercept for the vertical line. |
The plot with dashed gray lines as the x and y intercepts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.