View source: R/nnangle_in_cone.R
nnangle_cone | R Documentation |
nearest neighbour angles and distances given that angles are in a cone
nnangle_cone(x, unit, theta, from, to, antipodal = FALSE)
x |
matrix of coordinates |
unit |
direction of the cone |
theta |
angle or width of the cone |
from |
indices from which to compute |
to |
indices in which look for nearest neighbour |
antipodal |
use antipodally symmetric vectors? default: FALSE The values in 2d are (azimuth, distance). The values in 3d are physical coordinate system (azimuth, inclination, distance) The angle is inside the cone. NA if no neighbour is found. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.