https://github.com/cran/RandomFields
Tip revision: 683e381531c37e8e7224edd899422f119d926418 authored by Martin Schlather on 21 January 2014, 00:00:00 UTC
version 3.0.10
version 3.0.10
Tip revision: 683e381
RMid.Rd
\name{RMid}
\alias{RMid}
\title{Identical Model}
\description{
\command{RMid} is the identical operator
for objects of class \code{\link[=RMmodel-class]{RMmodel}}
}
\usage{
RMid(phi, vdim, var, scale, Aniso, proj)
}
\arguments{
\item{phi}{covariance function of class \code{\link[=RMmodel-class]{RMmodel}}.}
\item{vdim}{for internal purposes}
\item{var,scale,Aniso,proj}{optional parameters; same meaning for any
\command{\link{RMmodel}}. If not passed, the above
covariance function remains unmodified.}
}
\value{
\command{\link{RMid}} returns an object of class \code{\link[=RMmodel-class]{RMmodel}}
}
\author{Martin Schlather, \email{schlather@math.uni-mannheim.de}
}
\seealso{
\command{\link{RMmodel}},
}
\examples{
RFoptions(seed=0)
model <- RMexp()
x <- 0:10
RFoptions(seed=0)
z <- RFsimulate(model, x, spC=FALSE)
model2 <- RMid(model)
RFoptions(seed=0)
z2 <- RFsimulate(model, x, spC=FALSE)
sum(abs(z-z2)) == 0 # TRUE
\dontshow{RFoptions(seed=NA)}
}
\keyword{spatial}
\keyword{models}