Description Usage Arguments Value Author(s)
helper function for adding horizontal arc to ggplot2 object via geom_path() modified from: http://stackoverflow.com/questions/6862742/
1 |
xmin |
numeric value specifying minimum horizontal value for arc (default = 0) |
xmax |
numeric value specifying maximum horizontal value for arc (default = 10) |
ymin |
numeric value specifying minimum vertival value for arc (default = 0) |
height |
numeric value specifying height of arc. Negative value can be specified for arc extending down (default = 10) |
n_pt |
numeric value specifying number of points used to draw arc (default = 100) |
data.frame
with 2 columns specifyin x and y coordinates of points of arc
to be passed to ggplot2::geom_path()
Patrick Kimes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.