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
RRspherical.Rd
\name{RRspheric}
\alias{RRspheric}
\title{Random scaling used with balls}
\description{
This model delivers the distribution
of the \bold{radius} of a ball
obtained by the
intersection of a \code{balldim}-dimensional ball
with \bold{diameter} R by a \eqn{spacedim}-dimensional
hyperplane that has uniform
distance from the center.
}
\usage{
RRspheric(spacedim, balldim, R)
}
\arguments{
\item{spacedim}{dimension of the hyperplane; defaults to 1.}
\item{balldim}{the dimension of the ball}
\item{R}{radius. Default: 1}
}
\value{
\command{\link{RRspheric}} 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{RMball}},
}
\examples{
RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
hist(RFrdistr(RRspheric(balldim=2), n=1000), 50)
\dontshow{FinalizeExample()}
}
\keyword{spatial}
\keyword{models}