File: RRspherical.Rd

package info (click to toggle)
r-cran-randomfields 3.3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,916 kB
  • sloc: cpp: 52,159; ansic: 3,015; makefile: 2; sh: 1
file content (46 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\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}}.

}

\me
\seealso{
  \command{\link{RMmodel}},
  \command{\link{RMball}}.
}

\examples{\dontshow{StartExample()}
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}