get_distance | R Documentation |
Calculates an average distance between non-NA cells
get_distance(p, x)
p |
A matrix |
x |
A SpatRaster with proper metadata (e.g., extent and CRS) |
It converts permuted matrix into a vector dataset, and calculates an average distance between the points
An average distance between points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.