RFoptions(seed=0)
model <- RMexponential(RMfbm(alpha=1))
x <- seq(0, 10, if (interactive()) 0.02 else 1)
plot(model, ylim=c(0,1))
points(x, exp(-abs(x)), col="red")
plot(RFsimulate(model, x=x))
RFoptions(seed=NA)
Run the code above in your browser using DataLab