runifsphere {DepthProc} | R Documentation |
This function generates random numbers from p-dimensional unit sphere.
runifsphere(n, p = 2)
n |
number of random samples. |
p |
dimension of the unit sphere. |
Daniel Kosiorowski, Mateusz Bocian, Anna Wegrzynkiewicz and Zygmunt Zawadzki from Cracow University of Economics.
x <- runifsphere(n = 100)
plot(x)