Description Usage Arguments Value Examples
Add hline or vline for ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 12 |
p |
A ggplot2 object |
custom_vline_x_position |
A vector of coordinates for vertical lines. |
custom_vline_anno |
Annotation text for each vertical line. |
custom_hline_y_position |
A vector of coordinates for horizontal lines. |
custom_hline_anno |
Annotation text for each horizontal line. |
... |
Extra parameters given to |
A ggplot2 object
1 2 3 4 | ## Not run:
sp_ggplot_add_vline_hline(p)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.