RMconstant is a user-defined covariance according to the given covariance matrix.
Usage
RMconstant(M, vdim, element, var, scale, Aniso, proj)
Arguments
M
a numerical matrix defining the user-defined covariance for a
random field; The matrix should be positive definite, symmetric and
its dimension should be equal to the length of observation or
simulation vector.
vdim
an integer value; defining the response dimension (for details see RFgetModelNames).
element
integer. If a list of several matrices is given then
element chooses the one that should currently be
used. Default: 0
var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.
Note, this is not a covariance model for arbitrary locations, the
covariance is fixed and user-defined by a given matrix corresponding
to the locations.
In particular, it is used in RFfit to define neighbour or network structure in the data.
References
Ober, U., Ayroles, J.F., Stone, E.A., Richards, S., Zhu, D., Gibbs, R.A., Stricker, C., Gianola, D., Schlather, M., Mackay, T.F.C., Simianer, H. (2012):Using Whole Genome Sequence Data to Predict Quantitative Trait Phenotypes in Drosophila melanogaster. PLoS Genet 8(5): e1002685.