nndist.s2pp | R Documentation |
Nearest Neighbour Distance for Points on Sphere
## S3 method for class 's2pp' nndist(X, ..., k = 1, chordal = FALSE)
X |
Point pattern on the sphere of class |
... |
Further arguments passed to |
k |
Positive integer to calculate the kth nearest neighbour. |
chordal |
logical. Cordal distance cutting through the earth if |
Numeric vector (if length(k)
=1) or matrix (if length(k)
>1) of distances.
If the additional argument by
is used this may be a data.frame
.
spatstat.geom::closepairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.