direction | R Documentation |
Direction
direction(vector)
vector |
a vector of 2 coordinates |
a vector which has the same direction as the one in parameter, but its coordinates are the smallest positive integer
direction(c(1,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.