Description Usage Arguments Value Examples

View source: R/SphereOptimize.R

The function from.Sphere convert a list of angles representing a point on a unit sphere to the corresponding Cartesian coordinates.

1 | ```
from.Sphere(theta)
``` |

`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.

1 | ```
from.Sphere(c(pi/3, pi/4, pi/5))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.