Skip to contents

Map from Cartesian to spherical coordinates

Usage

map_to_spherical(data)

Arguments

data

A data frame/tibble containing columns x, y, z

Value

Same data frame with columns rho, theta, phi