Description Usage Arguments Details Value
Calculates a new x,y location based on an absolute angle in radians [0, 2*pi) and distance from origin x,y
1 | CoordinatesFromAngleLength(xy, angle, length)
|
xy |
numeric, vector of two coordinates c(x,y) |
angle |
numeric, radians [0, 2*pi) based on unit circle orientation. Therefore, "due east" is 0, "due west" is pi. |
length |
numeric, same units as x,y coordinates |
Coordinates must be in identically-scaled units (e.g. UTM meters). If location data is in lat & long, project coordinates to UTM with 'rgdal' package before running this function.
vector of two coordinates c(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.