Revision 68994912262e9c2ae98bff7968c23cd4cc8b9e8b authored by Martin Schlather on 24 August 2008, 00:00 UTC, committed by Gabor Csardi on 24 August 2008, 00:00 UTC
1 parent 3774b0f
Raw File
CheckAndComplete.Rd
\name{CheckAndComplete}
\alias{CheckAndComplete}
\title{Validity of a covariance model}
\description{
  \command{CheckAndComplete} checks the validity of a covariance model;
  further a matrix of internal parameters is returned.
}
\usage{
CheckAndComplete(model, param, dim)
}
\arguments{
  \item{model}{definition of a covariance function,
    see \code{\link{CovarianceFct}} for examples}
  \item{param}{see model}
  \item{dim}{dimension for the space}
}

\value{
  A list of two parameters is returned:

  \code{error}
  a value different from zero signifies an error;
  to get a readable error information put
  \code{RFparameters()$PrintLevel}
  to a higher level and rerun.
  
  \code{param}
  (currently for internal purposes only).
  matrix of the internal parameter list; columns correspond to
  the simple models and can be extracted using
  \command{\link{paramextract}}.
}
\author{Martin Schlather, \email{martin.schlather@math.uni-goettingen.de},
  \url{http://www.stochastik.math.uni-goettingen.de/institute}}

\seealso{\command{\link{GaussRF}},  \command{\link{paramextract}},
  \code{\link{RandomFields}}, \code{\link{RFMethods}}.}

\examples{
 ## for an example see \link{RFMethods}
}
\keyword{spatial}





back to top