R/translation_weights.R
translation_weights.Rd
Defined in a bounding box.
translation_weights(x, asMatrix = FALSE)
Pattern, $x coordinate matrix, $bbox bounding box.
Return a square symmetric matrix? Otherwise only the upper triangle row by row.
if asMatrix=FALSE, the vector gives the weights in order (1,2), (1,3), ..., (1,n), (2,3), (2,4), ... (n-2, n-1), (n-2,n), (n-1, n)