Nothing
# How evenly a set of points is spaced. The coefficient of variation of the
# nearest-neighbour distances is near 0.5 for a uniform random draw, which clumps,
# and near 0 for a lattice.
nearest_neighbour_distances <- function(points) {
distances <- as.matrix(dist(points))
diag(distances) <- Inf
apply(distances, 1, min)
}
nearest_neighbour_cv <- function(points) {
neighbours <- nearest_neighbour_distances(points)
stats::sd(neighbours) / mean(neighbours)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.