runifsphere: Random number generation from unit sphere.

Description Usage Arguments Author(s) Examples

Description

This function generates random numbers from p-dimensional unit sphere.

Usage

1
runifsphere(n, p = 2)

Arguments

n

number of random samples.

p

dimension of the unit sphere.

Author(s)

Daniel Kosiorowski, Mateusz Bocian, Anna Wegrzynkiewicz and Zygmunt Zawadzki from Cracow University of Economics.

Examples

1
2
x = runifsphere(n=100)
 plot(x)

DepthProc documentation built on May 2, 2019, 6:22 p.m.