roundrect.Rdadds a rectangular box with rounded left and right edges to a plot
roundrect(mid, radx, rady, rx = rady, dr = 0.01,
col = "white", lcol = "black", lwd = 2, angle = 0, ...)midpoint (x,y) of the box.
horizontal radius of the box.
vertical radius of the box.
radius of rounded part.
size of segments, in radians, to draw the rounded line (decrease for smoother).
fill color of the box.
line color surrounding box.
line width of line surrounding the box.
rotation angle, degrees.
arguments passed to function filledshape.
radx and rady are the horizontal and vertical radiusses of
the box; rx is the horizontal radius of the rounded part.
Here horizontal and vertical denote the position BEFORE
rotation.