unifLoc {geoCount} | R Documentation |
This function scales the coordinates of original locations to fit into a unit square.
unifLoc(loc, length=1)
loc |
a matrix of n \times 2 which indicates the x-y coordinates of the original locations |
length |
the edge length of the square |
A matrix of n \times 2 which indicates the x-y coordinates of scaled locations.
Liang Jing ljing918@gmail.com
## Not run: loc <- locGrid(1, 2, 10, 5) plot(unifLoc(loc, length=1)) ## End(Not run)