powered by
Random distribution of points that have a specified radial spacing.
randFRY(N = 200, LIM = c(0, 0, 100, 100), rlen = 5, PLOT=FALSE)
integer, number of points
Limit in x-y direction
distance length. points are selected if they are greater than this distance from each other.
logical, TRUE=make a plot of data
x-coordinate
y-coordinate
A spatial data set is generated that has random distribution with points no closer than a specified distance apart.
Fry, N., (1979) <http://dx.doi.org/10.1016/0040-1951(79)90135-5> Random point distributions and strain measurement in rocks Tectonophysics, 60:89-105.
dofry
# NOT RUN { RDAT = randFRY(100, LIM=c(0,0, 100, 100) , rlen=5 ) length(RDAT$x) plot(RDAT$x, RDAT$y, asp=1, pch=".", cex=2) # }
Run the code above in your browser using DataLab