The corresponding function $C$ (which is not necessarily a covariance function, see details) only depends on the distance $r$ between two points in $d$-dimensional space and is given by
RMcutoff(phi, diameter, a, var, scale, Aniso, proj)
RFgetModelNames(type="positive definite",
domain="single variable", isotropy="isotropic", vdim=1)
.
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
StartExample()
model <- RMexp()
plot(model, model.cutoff=RMcutoff(model, diameter=1), xlim=c(0, 4))
model <- RMstable(alpha = 0.8)
plot(model, model.cutoff=RMcutoff(model, diameter=2), xlim=c(0, 5))
x <- y <- seq(0, 4, 0.05)
plot(RFsimulate(RMcutoff(model), x=x, y = y))
FinalizeExample()
Run the code above in your browser using DataLab