| RMfixcov {RandomFields} | R Documentation |
RMfixcov is a user-defined covariance according to
the given covariance matrix, multiplied with var
RMfixcov(M, vdim, element, var)
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 |
element |
integer. If a list of several matrices is given then
|
var |
variance, i.e. factor multiplied to the data, which can be estimated through ML |
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.
RMfixcov returns an object of class RMmodel
Martin Schlather, schlather@math.uni-mannheim.de
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.
## to do