add_grid | R Documentation |
Add grid to a plot using abline
.
add_grid(
at_x = NULL,
at_y = NULL,
col = "lightgray",
lty = "dotted",
lwd = 1,
...
)
at_x |
x axis grid values |
at_y |
y axis grid values |
col |
grid color |
lty |
line type |
lwd |
line width |
... |
further parameter passed to abline |
The function adds a grid to a plot using abline
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.