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