Learn R Programming

RFOC (version 3.4-10)

tosphereL: convert to spherical coordinates

Description

convert to spherical coordinates

Usage

tosphereL(A)

Value

List

az

azimuth, degrees

dip

Dip, degrees

x

x-coordinate

y

y-coordinate

z

z-coordinate

Arguments

A

list (x,y,z)

Author

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

Details

takes list of three components and returns azimuth and dip

See Also

TOSPHERE

Examples

Run this code

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

Run the code above in your browser using DataLab