Description Usage Arguments Value Author(s) References Examples
Function to sample uniformly distributed observations on the unit sphere.
1 | 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.
1 2 | 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.