R: Convert to Spherical Coordinates

TOSPHERE {RFOC} | R Documentation

## Convert to Spherical Coordinates

### Description

Get Azimuth and Dip from Cartesian vector on a sphere.

### Usage

    TOSPHERE(x, y, z)

### Arguments

`x` | x-coordinate
`y` | y-coordinate
`z` | z-coordinate

### Value

`az` | azimuth angle, degrees
`dip` | dip, degrees

### Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

### See Also

TOSPHERE.DIP, tosphereL, to.spherical

### Examples

    TOSPHERE(3, 4, 5)

[Package RFOC version 3.4-3 Index]