Convert spherical coordinates to Cartesian coordinates
Source:R/spherical.R
spherical_to_cartesian.RdConvert spherical coordinates to Cartesian coordinates
Usage
spherical_to_cartesian(
theta,
phi,
radius = 1,
convention = c("azimuth_colatitude", "azimuth_elevation")
)See also
Other spherical helpers:
cartesian_to_spherical(),
spherical_summary()