midpoint | R Documentation |
It is possible to get more than one midpoint by specifying a position vector with a length greater than 1. Position values outside 0 and 1 will usually work, but will be outside the object.
midpoint(x, y, position = 0.5, ...)
x |
object |
y |
object (can be omitted for segments and arcs) |
position |
numeric vector. 0 is start, 1 is end. Defaults to .5 |
... |
< |
ob_point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.