loc2U_R {geoCount} | R Documentation |
This function calculates the distance matrix among the given locations.
loc2U_R(loc)
loc |
a matrix of n \times 2 which indicates the x-y coordinates of the original locations |
This function performs the computation in R.
A n \times n matrix with the element e_{ij} indicating the distance between the ith and jth locations.
Liang Jing ljing918@gmail.com
loc2U
,
locCircle
,
locGrid
,
locSquad
.
## Not run: loc <- locGrid(1, 2, 10, 5) U <- loc2U_R(loc) ## End(Not run)