Description Usage Arguments Details Value Author(s) Examples

These functions generate random points on a sphere using different rules.

1 2 | ```
runifsphere(n)
runifsphere.wrong(n)
``` |

`n` |
The number of points to be simulated. |

`runifsphere`

generates uniformly-distributed random points on the
sphere.

`runifsphere.wrong`

generates random points which are uniformly
distributed in (longitude, latitude) coordinates.
These are not uniformly distributed on the sphere.

A data frame containing two columns of coordinates: the first column for longitude, the second column for latitude.

Adrian Baddeley and Tom Lawrence

1 2 | ```
runifsphere(10)
runifsphere.wrong(10)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.