# Random Points on a Sphere

### Description

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

### Usage

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

### Arguments

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

### Details

`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.

### Value

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

### Author(s)

Adrian Baddeley and Tom Lawrence

### Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.