Random data for Fry analysis

Share:

Description

Random distribution of points that have a specified radial spacing.

Usage

1
randFRY(N = 200, LIM = c(0, 0, 100, 100), rlen = 5, PLOT=FALSE)

Arguments

N

integer, number of points

LIM

Limit in x-y direction

rlen

distance length. points are selected if they are greater than this distance from each other.

PLOT

logical, TRUE=make a plot of data

Details

A spatial data set is generated that has random distribution with points no closer than a specified distance apart.

Value

x

x-coordinate

y

y-coordinate

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

References

Fry, N., (1979) Random point distributions and strain measurement in rocks Tectonophysics, 60:89-105.

See Also

dofry

Examples

1
2
3
RDAT = randFRY(100, LIM=c(0,0, 100, 100) , rlen=5   )
length(RDAT$x)
plot(RDAT$x, RDAT$y, asp=1, pch=".", cex=2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.