sphere | R Documentation |
Simulation data randomly sampled from the surface of a 3D sphere.
sphere(n = 1000)
n |
The number of points to create. |
Creates a series of points sampled from a 3D spherical surface.
Points are colored based on the angle theta in their spherical coordinate presentation. You can think of it as dividing the sphere surface like the segments of an orange.
Data frame with x
, y
, z
columns containing the
coordinates of the points and color
the RGB color.
A dataset like this was used in: Lee, J. A., Peluffo-Ordo'nez, D. H., & Verleysen, M. (2015). Multi-scale similarities in stochastic neighbour embedding: Reducing dimensionality while preserving both local and global structure. Neurocomputing, 169, 246-261.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.