RMsum: Plain scalar product

Description Usage Arguments Value Note See Also Examples

View source: R/RMmodels.R

Description

RMsum is given by

C(x,y) = φ(x) + φ(y).

It is a negative definite function although not a variogram.

Usage

1
RMsum(phi, var, scale, Aniso, proj)

Arguments

phi

any function of class RMmodel

var,scale,Aniso,proj

optional arguments; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

RMsum returns an object of class RMmodel.

Note

Do not mix up this model with RMplus.

See Also

RMmodel, RMplus, RMprod.

Examples

1
2
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
##                   RFoptions(seed=NA) to make them all random again

RandomFields documentation built on Jan. 19, 2022, 1:06 a.m.