Learn R Programming

RFOC (version 3.4-10)

FixDip: Fix Dip Angle

Description

Fix az, dip angles so they fall in correct quadrant.

Usage

FixDip(A)

Value

List:

az

azimuthm angle, degrees

dip

dip angle, degrees

Arguments

List:

A

az

azimuthm angle, degrees

dip

dip angle, degrees

Author

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

Details

Quadrants are determined by the sine and cosine of the dip angle: co = cos(dip) si = sin(dip) quad[co>=0 & si>=0] = 1 quad[co<0 & si>=0] = 2 quad[co<0 & si<0] = 3 quad[co>=0 & si<0] = 4

See Also

RPMG::fmod

Examples

Run this code

B = list(az=231, dip = -65)

FixDip(B)


Run the code above in your browser using DataLab