Learn R Programming

distrEllipse (version 2.8.3)

SphericalDistribution: Generating function for SphericalDistribution-class

Description

Generates an object of class "SphericalDistribution".

Usage

SphericalDistribution(radDistr = sqrt(Chisq(df=dim)), dim = 2,
                             p = NULL, q = NULL)

Value

Object of class "SphericalDistribution"

Arguments

radDistr

an object of class UnivariateDistribution with positive support, i.e. p(radDistr)(0)==0; the radial distribution.

dim

positive integer: dimension of the distribution.

p

optional: p-slot of the corresponding distribution;

q

optional: q-slot of the corresponding distribution;

Author

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

See Also

SphericalDistribution-class

Examples

Run this code
E0 <- SphericalDistribution()
plot(E0)
E1 <- diag(1,2)%*%E0+c(1,2)
plot(E1)
E(E1)
var(E1)

Run the code above in your browser using DataLab