Learn R Programming

RandomFields (version 3.1.16)

RMprod: Plain scalar product

Description

RMprod is a non-stationary covariance model given by $$C(x,y) = \langle \phi(x), \phi(y)\rangle $$

Usage

RMprod(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

RMprod returns an object of class RMmodel.

Details

This model defines

References

Wendland, H. Scattered Data Approximation (2005) Cambridge: Cambridge University Press.

See Also

RMsum, RMmodel, RMmult

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

RFcov(RMprod(RMexp()), as.matrix(1:10), as.matrix(1:10), grid=FALSE)


Run the code above in your browser using DataLab