RFoptions(seed=0)
x.max <- 10
model <- RMintrinsic(RMfbm(alpha=1), diameter=x.max)
x <- seq(0, x.max, if (interactive()) 0.02 else 1)
plot(model, ylim=c(0,6))
plot(RFsimulate(model, x=x))
RFoptions(seed=NA)
Run the code above in your browser using DataLab