runifsphere: Random Points on a Sphere

Description Usage Arguments Details Value Author(s) Examples

View source: R/ajbplot.R

Description

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

Usage

1
2

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

globe documentation built on May 19, 2017, 11:53 p.m.

Search within the globe package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.