runifsphere | R Documentation |
Function to sample uniformly distributed observations on the unit sphere.
runifsphere(n, p)
n |
number of random samples. |
p |
dimension of the unit sphere. |
a matrix.
Klaus Nordhausen
Oja, H. (2010), Multivariate Nonparametric Methods with R, Springer.
X <- runifsphere(100,2)
plot(X, pty = "s")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.