Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sph2cart

Convert Spherical to Cartesian Coordinates


Description

This function converts spherical to Cartesian coordinates.

Usage

sph2cart(df)

Arguments

df

A data frame with columns named r, theta and phi with the radius and angles (in spherical coordinates) to be converted to Cartesian coordinates.

Value

A data frame with named columns containing the converted coordinates.

Note

Cobbled together from similar functions in other packages.

Author(s)

Bryan A. Hanson, DePauw University. hanson@depauw.edu


HiveR

2D and 3D Hive Plots for R

v0.3.63
GPL-3
Authors
Bryan A. Hanson [aut, cre] (<https://orcid.org/0000-0003-3536-8246>), Vesna Memisevic [ctb], Jonathan Chung [ctb]
Initial release
2020-06-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.