bearings | R Documentation |
Calculates the bearing from one set of points to another.
bearings(a, b)
a |
matrix containing a set of coordinates. |
b |
matrix containing another set of coordinates. |
A matrix with bearings of the points in matrix b from the points in matrix a.
bears <- bearings(example.data$traps, example.data$mask)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.