Learn R Programming

geozoo (version 0.5.1)

ellipsoid: Ellipsoid

Description

A function to generate an ellipsoid

Usage

ellipsoid(n = 10000, a = 1, b = 1, c = 3)

Arguments

n
number of points
a
radius in x direction
b
radius in y direction
c
radius in z direction

Value

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

References

http://schloerke.github.io/geozoo/mobius/other/

Examples

Run this code
## Generates an ellipsoid
ellipsoid(n = 1000, a = 1, b = 1, c = 3)

Run the code above in your browser using DataLab