Description Usage Arguments Value Author(s) Examples
Function for drawing a split circle (two differently colored semicircles)
1 2 | splitCircle(x, y, radius, splitAngle = pi/4, nv = 100, border = NA,
col1 = NA, col2 = NA, lty = 1, lwd = 1)
|
x |
x location of the circle center |
y |
y location of the circle center |
radius |
radius of the circle |
splitAngle |
angle (in radians) that splits the color in two halves |
nv |
number of vertices used to draw the circle |
border |
binary whether to include a border on the circle |
col1 |
color of the first semicircle |
col2 |
color of the second semicircle |
lty |
line type used for drawing the circle polygon |
lwd |
line width used for darwing the circle polygon |
none, split circle is drawn to the current device
Jason Waddell
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.