frontness | R Documentation |
Given the bearing angle of an object to another, this function calculates the frontness, a value that ranges from 0 to 1 and represents how in front the focal object is from its neighbor.
frontness(bs)
bs |
A vector of bearing angles (in rad) between objects. |
A vector of the same length as bs representing the frontness of a focal object to its neighbor.
Marina Papadopoulou, m.papadopoulou.rug@gmail.com
nnba
bs <- runif(25, max = pi)
frontness(bs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.