View source: R/utils-geometry.R
| offset_point | R Documentation |
Calculate a point offset from another point by a given distance.
offset_point(x, y, toward_x, toward_y, offset)
x, y |
Original point. |
toward_x, toward_y |
Point to offset toward. |
offset |
Distance to offset. |
List with x, y coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.