If sampling locations are in longitude/latitude and are far apart, be sure to
supply the geodesic distance as locD
. (Note that mgQuick
implements
geodesic distances using the longlat=TRUE
parameter when provided with sampling coordinates)
truncation
1. Can be numeric from 0 to 1 specifying the
proportion of the maximum distance in locD to truncate
following this a spanning tree is used to further
truncate as in PCNM (aka dbMEM or classical MEM)
2. Can be NULL (default) indicating only the minimum spanning tree (MST) truncation where
links that exceed the longest link in the MST (dMST) are replaced with 4 * dMST
3. Can be FALSE indicating that nothing is done to the distance matrix
which is only suitable when locD is non-euclidean (i.e. will have
negative eigenvectors