# first example: one-dimensional simulations
close.screen(close.screen())
RFparameters(Print=1)
x <- seq(1,10,0.1);
ShowModels(x=x)
# second example: two-dimensional simulations and
# empirical variogram
close.screen(close.screen())
RFparameters(Print=1)
dx <- runif(300,0,8)
dy <- runif(300,0,8)
dz <- GaussRF(x=dx, y=dy, grid=FALSE, model="gaus",
param=c(1,2,1,2))
ev <- EmpiricalVariogram(x=dx, y=dy, data=dz, grid=FALSE,
bin=(-1:20)/4)
x <- seq(1,5,0.1);
ShowModels(x=x,y=x,empirical=ev)
Run the code above in your browser using DataLab