The Hyperplane method is a simulation method for stationary, isotropic random fields with exponential covariance function. It is based on a tessellation of the space by hyperplanes. Each cell takes a spatially constant value of an i.i.d. random variable. The superposition of several such random fields yields approximatively a Gaussian random field.
RPhyperplane(phi, boxcox, superpos, maxlines, mar_distr, mar_param ,additive)
RMmodel
;
specifies the covariance function to be simulated;
only exponential covariance functions and scale mixtures
of it are allowed.
RFboxcox
for Details.
300
.1000
.
This argument should not be changed yet.
Default: 0
.
NA
.
TRUE
independent realisations are added, else
the maximum is taken. Default: TRUE
.
RPhyperplane
returns an object of class
RMmodel
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
model <- RPhyperplane(RMexp(s=2), superpos=1)
x <- seq(0, 3, 0.04)
z <- RFsimulate(x=x, x, model=model, n=1)
plot(z)
Run the code above in your browser using DataLab