powered by
The function from.Sphere convert a list of angles representing a point on a unit sphere to the corresponding Cartesian coordinates.
from.Sphere(theta)
A list of angles. The first item should be between 0 to pi, and the following items should be between 0 to 2*pi.
A vector of the corresponding Cartesian coordinates.
# NOT RUN { from.Sphere(c(pi/3, pi/4, pi/5)) # }
Run the code above in your browser using DataLab