https://github.com/cran/RandomFields
Revision f082dc8b0950aff830aab568d89a74af74f10e14 authored by Martin Schlather on 12 August 2014, 00:00:00 UTC, committed by Gabor Csardi on 12 August 2014, 00:00:00 UTC
1 parent 743e66d
Raw File
Tip revision: f082dc8b0950aff830aab568d89a74af74f10e14 authored by Martin Schlather on 12 August 2014, 00:00:00 UTC
version 3.0.35
Tip revision: f082dc8
RMconstant.Rd
\name{RMconstant}
\alias{RMconstant}
\alias{RMconstant}
\title{Constant Covariance Matrix}
\description{
  \command{\link{RMconstant}} is a user-defined covariance according to the given covariance matrix. 
}
\usage{
RMconstant(M, vdim, element, var, scale, Aniso, proj)
}
\arguments{
 \item{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.}
 \item{vdim}{an integer value; defining the response dimension (for details see \command{\link{RFgetModelNames}}).}
 \item{element}{integer. If a list of several matrices is given then
 \code{element} chooses the one that should currently be
 used. Default: 0}
 \item{var,scale,Aniso,proj}{optional arguments; same meaning for any \command{\link{RMmodel}}. If not passed, the above covariance function remains unmodified.}
}
\details{
 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 \command{\link{RFfit}} to define neighbour or network structure in the data.
}
\value{
 \command{\link{RMconstant}} returns an object of class \code{\link[=RMmodel-class]{RMmodel}}
}
\references{
 \itemize{
 \item 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): \emph{Using Whole Genome Sequence Data to Predict Quantitative Trait Phenotypes in Drosophila melanogaster}. PLoS Genet 8(5): e1002685.
 }
}
\author{Martin Schlather, \email{schlather@math.uni-mannheim.de}
}
\seealso{
 \command{\link{RMmodel}},
 \command{\link{RFsimulate}},
 \command{\link{RFfit}}.
}


\keyword{spatial}
\keyword{models}
\examples{

## to do

\dontshow{FinalizeExample()}
}
back to top