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.
Usage
frontness(bs)
Value
A vector of the same length as bs representing the frontness of
a focal object to its neighbor.
Arguments
bs
A vector of bearing angles (in rad) between objects.