A 3-column (XYZ) or a 2-column (long-lat) numeric matrix.
Arguments
n
(numeric) The number of random points to be created.
output
(character) The coordinate system of the new points. Can either be
"cartesian" for XYZ coordiates or "polar" for spherical,
longitude-latitudes coordinates.
radius
(numeric) The radius of the sphere
origin
(numeric) The center of the sphere (XYZ coordinates).
Details
The function uses a three dimension normal distribution to generate points,
which are then projected to the surface of the sphere.