.calcTol | R Documentation |
This function takes a triangular or rectangular distance matrix representing pairwise distances between points and calculates a tolerance value for spatial randomizations of points meant to reflect the spatial autocorrelation inherent in the observed points. It is meant as a helper function for the family of randPoints---
functions.
.calcTol(dists, removeTopRow)
dists |
Either a lower-triangular square matrix (with the diagonal set to |
removeTopRow |
Logical, if |
Tolerance is calculated as half of the value of minimum pairwise distances that are >0.
Numeric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.