Sampling from a distribution on the unit sphere
1 | rsphere(N, f)
|
N |
Sample size. |
f |
Probability density as a function of spherical coordinates (theta, phi). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.