Learn R Programming

RandomFields (version 3.1.16)

RMsum: Plain scalar product

Description

RMsum is given by $$C(x,y) = \phi(x) + \phi(y) $$ It is a negative definite function although not a variogram.

Usage

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.

See Also

RMmodel, RMplus RMprod

Examples

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





Run the code above in your browser using DataLab