acid_geom_abline | R Documentation |
Add a horizontal (using yintercept
) or vertical (using xintercept
)
reference line.
acid_geom_abline(xintercept = NULL, yintercept = NULL)
xintercept , yintercept |
|
Layer
/ggproto
.
Updated 2023-08-10.
## x-axis line.
geom <- acid_geom_abline(xintercept = 1L)
print(geom)
## y-axis line.
geom <- acid_geom_abline(yintercept = 1L)
print(geom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.