Learn R Programming

RFOC (version 1.0-4)

FixDip: Fix Dip Angle

Description

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

Usage

FixDip(A)

Arguments

A
az
azimuthm angle, degrees
dip
dip angle, degrees

Value

  • List:
  • azazimuthm angle, degrees
  • dipdip angle, degrees

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<="" code="">

See Also

fmod

Examples

Run this code
B = list(az=231, dip = -65)

FixDip(B)

Run the code above in your browser using DataLab