sample_hypersphere | R Documentation |
Generate a random sample from the uniform distribution on the hypersphere.
sample_hypersphere(d, n_points = 1)
d |
Number of dimensions. |
n_points |
Number of sampled observations. |
Data matrix with the sampled observations.
x_sp <- sample_hypersphere(3,100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.