Description Usage Arguments Details Author(s) Examples

adds a rectangular box with rounded left and right edges to a plot

1 2 |

`mid ` |
midpoint (x,y) of the box. |

`radx ` |
horizontal radius of the box. |

`rady ` |
vertical radius of the box. |

`rx ` |
radius of rounded part. |

`dr ` |
size of segments, in radians, to draw the rounded line (decrease for smoother). |

`col ` |
fill color of the box. |

`lcol ` |
line color surrounding box. |

`lwd ` |
line width of line surrounding the box. |

`angle ` |
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.

Karline Soetaert <[email protected]>

1 2 3 4 5 6 |

shape documentation built on Feb. 9, 2018, 6:08 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.