geozoo (version 0.5.1)

sphere.solid.random: Solid sphere with Random Points

Description

A function to generate a solid sphere with random points

Usage

sphere.solid.random(p = 3, n = p * 500)

Arguments

p
dimension of object
n
number of points

Value

points
location of points
edges
edges of the object (null)

References

http://schloerke.github.io/geozoo/sphere/

Examples

Run this code
## Generates a solid sphere with random points.
sphere.solid.random(p = 3, n = 1000)

Run the code above in your browser using DataLab