https://github.com/cran/RandomFields
Tip revision: 0e562f038613e9388e8c33a6cf59f7f57ae62bf5 authored by Martin Schlather on 03 August 2014, 00:00:00 UTC
version 3.0.32
version 3.0.32
Tip revision: 0e562f0
Hyperplane.Rd
\name{Hyperplane}
\alias{Hyperplane}
\alias{RPhyperplane}
\title{Hyperplane method}
\description{
The Hyperplane method is a simulation method for stationary, isotropic
random fields with exponential covariance function. It is
based on a tessellation of the space by
hyperplanes. Each cell takes a spatially constant value
of an i.i.d. random variable. The superposition of several
such random fields yields approximatively a Gaussian random field.
}
\usage{
RPhyperplane(phi, superpos, maxlines, mar_distr, mar_param)
}
\arguments{
\item{phi}{object of class \code{\link[=RMmodel-class]{RMmodel}};
specifies the covariance function to be simulated;
only exponential covariance functions and scale mixtures
of it are allowed.
}
% \item{loggauss}{see \command{\link{RPgauss}}.}
\item{superpos}{integer. number of superposed hyperplane tessellations.
Default: \code{300}.}
\item{maxlines}{integer.
Maximum number of allowed lines.
Default: \code{1000}.
}
\item{mar_distr}{integer.
code for the marginal distribution used in the
simulation:
\describe{
\item{\code{0}}{uniform distribution}
\item{\code{1}}{Frechet distribution with form parameter
\code{mar_param}}
\item{\code{2}}{Bernoulli distribution (Binomial with \eqn{n=1}) with
argument \code{mar_param}}
}
This argument should not be changed yet.
Default: \code{0}.
}
\item{mar_param}{Argument used for the marginal
distribution. The argument should not be changed yet.
Default: \code{NA}.
}
}
%\details{}
\value{
\code{RPhyperplane} returns an object of class
\code{\link[=RMmodel-class]{RMmodel}}
}
\references{
\itemize{
\item Lantuejoul, C. (2002)
\emph{Geostatistical Simulation: Models and Algorithms.}
Springer.
}}
\author{Martin Schlather, \email{schlather@math.uni-mannheim.de}
}
\examples{
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
\dontshow{\dontrun{
model <- RPhyperplane(RMexp(s=2), superpos=1)
x <- seq(0, 3, if (interactive()) 0.04 else 1)
z <- RFsimulate(x=x, x, grid=TRUE, model=model, n=1)
plot(z)
}}
\dontshow{FinalizeExample()}
}
\seealso{
\link{RP},
\command{\link{RPcoins}},
\command{\link{RPspectral}},
\command{\link{RPtbm}}.
}
\keyword{methods}