Description Usage Arguments Details Author(s) See Also Examples
Draw a closed polygon delineated by an 'upper' and 'lower' y limit.
1 |
x |
The x values of the polygon |
upper |
The upper 'edge' of the polygon |
lower |
The lower 'edge' of the polygon |
... |
Other arguments passed to |
drawpoly
is a generic method for drawing polygons where the polygon is drawn as:
polygon(x=c(x, rev(x), x[1]), y=c(upper, rev(lower), upper[1])
i.e. a line following along the top edge (left-to-right along x
) and back along the bottom edge (right-to-left along x
).
The specific method implemented here for FRAIR is drawpoly.frboot
.
Daniel Pritchard
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.