RRspherical: Random scaling used with balls

Description Usage Arguments Value See Also Examples

Description

This model delivers the distribution of the radius of a ball obtained by the intersection of a balldim-dimensional ball with diameter R by a spacedim-dimensional hyperplane that has uniform distance from the center.

Usage

1
RRspheric(spacedim, balldim, R) 

Arguments

spacedim

dimension of the hyperplane; defaults to 1.

balldim

the dimension of the ball

R

radius. Default: 1.

Value

RRspheric returns an object of class RMmodel.

See Also

RMmodel, RMball.

Examples

1
2
3
4
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)

RandomFields documentation built on Jan. 19, 2022, 1:06 a.m.