R: Convert Cartesian to Spherical

to.spherical {RFOC} | R Documentation

## Convert Cartesian to Spherical

### Description

Convert cartesian coordinates to strike and dip

### Usage

    to.spherical(x, y, z)

### Arguments

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

### Value

LIST

`az` | angle, degrees
`dip` | angle, degrees
`x` | x-coordinate
`y` | y-coordinate
`z` | z-coordinate

### Author(s)

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

### See Also

SDRfoc

### Examples

    to.spherical(3, 4, 5)

[Package RFOC version 3.4-3 Index]