cartesian2spherical | R Documentation |
Cartesian to spherical coordinate conversion.
cartesian2spherical(x,
y = NULL, z = NULL)
x |
a vector of |
y |
a vector of |
z |
A matrix of three spherical coordinates r, theta, phi
of
points represented as x, \code{y}, z
in Cartesian coordinates.
Tomas Sieger
spherical2cartesian
cartesian2spherical(0, 0, 0)
cartesian2spherical(1, 2, 3)
cartesian2spherical(c(1, 2, 3))
cartesian2spherical(cbind(0,1,seq(0:10)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.