Learn R Programming

RandomFields (version 3.0.10)

RMschur: Schur product

Description

The covariance function is

$$C(x)= M * \phi(x)$$

where * denotes the Schur product, i.e. elementwise multiplication

Usage

RMschur(phi, M,  diag, rhored, var, scale, Aniso, proj)

Arguments

phi
covariance function of class RMmodel.
M
constant $n \times n$ covariance matrix of the same size as multivariate model phi
diag,rhored
alternative way of passing M: diag is a vector of variances, rhored is a vector containing the correlations of lower triangle of the M
var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

References

  • ?

See Also

RMmodel, RMmatrix,

Examples

Run this code
## For an example see the help page of 'RMparswmX' ##
RFoptions(seed=NA)

Run the code above in your browser using DataLab