Addition of Random Field Models
In particular, if all submodels are given through a covariance function, the resulting model is defined through its covariance function, which is the sum of the submodels' covariances. Analogously, if all submodels are given through a variogram.
RMplus(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, var, scale, Aniso, proj)
RMmodels can also be summed up via the
+-operator, e.g. C0 + C1.
The global arguments var,scale,Aniso,proj of RMplus
are multiplied to the corresponding arguments of the submodels
(from the right side).
Martin Schlather, schlather@math.uni-mannheim.de, https://www.wim.uni-mannheim.de/schlather/
RMmult,
RMmodel,
RMsum,
RFsimulate,
RFfit.
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
model <- RMplus(RMgauss(), RMnugget(var=0.1))
model2<- RMgauss() + RMnugget(var=0.1)
plot(model, "model.+"=model2, type=c("p", "l"), pch=20, xlim=c(0,3)) # the samePlease choose more modern alternatives, such as Google Chrome or Mozilla Firefox.