R: convert to spherical coordinates

tosphereL {RFOC} | R Documentation

## convert to spherical coordinates

### Description

convert to spherical coordinates

### Usage

    tosphereL(A)

### Arguments

`A` | list (x,y,z)

### Details

takes list of three components and returns azimuth and dip

### Value

List

`az` | azimuth, degrees
`dip` | Dip, degrees
`x` | x-coordinate
`y` | y-coordinate
`z` | z-coordinate

### Author(s)

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

### See Also

TOSPHERE

### Examples

    A = list(x=12 ,y=2, z=-3 )
    tosphereL(A)

[Package RFOC version 3.4-3 Index]