locSquad {geoCount} | R Documentation |
This function simulates a given number of locations equally distributed on a square.
locSquad(a, np)
a |
half length of the edge |
np |
the number of locations on each edge |
The center of the square is (0, 0).
A (4\times np-4) \times 2 matrix indicates the x-y coordinates of the locations.
Liang Jing ljing918@gmail.com
locCircle
,
locGrid
,
simData
,
plotData
.
## Not run: plot(locSquad(0.5, 4)) ## End(Not run)