R: Plain scalar product

RMprod {RandomFields} | R Documentation

## Plain scalar product

### Description

`RMprod` is a non-stationary covariance model given by

C(x,y) = \langle φ(x), φ(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.

### Details

This model defines

### Value

`RMprod` returns an object of class `RMmodel`.

### Note

Do not mix up this model with `RMmult`.

See also `RMS` for a simple, alternative method to set an arbitrary, i.e. location dependent, univariate variance.

### Author(s)

Martin Schlather, schlather@math.uni-mannheim.de http://ms.math.uni-mannheim.de/de/publications/software

### References

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

### See Also

`RMsum`, `RMmodel`, `RMmult`

### Examples

    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)

[Package RandomFields version 3.1.50 Index]