Skip to content

Instantly share code, notes, and snippets.

View JoGall's full-sized avatar

Joe Gallagher JoGall

View GitHub Profile
# http://stackoverflow.com/questions/19208502/levy-walk-simulation-in-r
alpha=2.2
n=10000
x=rep(0,n)
y=rep(0,n)
# Note that you need 0 < fmin < fmax.
fmin <- 0.01