https://github.com/cran/RandomFields
Tip revision: f082dc8b0950aff830aab568d89a74af74f10e14 authored by Martin Schlather on 12 August 2014, 00:00:00 UTC
version 3.0.35
version 3.0.35
Tip revision: f082dc8
RMtruncsupport.Rd
\name{RMtruncsupport}
\alias{RMtruncsupport}
\title{Random sign}
\description{
It may be used to truncate the support of a shape function when
Poisson fields or M3 processes are created.
}
\usage{
RMtruncsupport(phi, radius)
}
\arguments{
\item{phi}{function of class \code{\link[=RMmodel-class]{RMmodel}}.}
\item{radius}{truncation at \code{radius}}
}
\value{
\command{\link{RMtruncsupport}} returns an object of class \code{\link[=RMmodel-class]{RMmodel}}.
}
\author{Martin Schlather, \email{schlather@math.uni-mannheim.de}
}
\seealso{
\command{\link{RMmodel}},
\command{\link{RMmatrix}},
\command{\link{RPpoisson}}
}
\keyword{spatial}
\keyword{models}
\references{
\itemize{
\item Schlather, M. (2002) Models for stationary max-stable
random fields. \emph{Extremes} \bold{5}, 33-44.
}
}
\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 <- RPcoins(shape = RMtruncsupport(RMgauss(), radius=1.5), intensity=1)
x <- seq(0, 10, if (interactive()) 0.02 else 1)
plot(RFsimulate(model, x=x))
}}
\dontshow{FinalizeExample()}
}