Learn R Programming

⚠️There's a newer version (3.4-10) of this package.Take me there.

RFOC (version 3.4-6)

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

Description

Graphics for statistics on a sphere, as applied to geological fault data, crystallography, earthquake focal mechanisms, radiation patterns, ternary plots and geographical/geological maps. Non-double couple plotting of focal spheres and source type maps are included for statistical analysis of moment tensors.

Copy Link

Version

Install

install.packages('RFOC')

Monthly Downloads

606

Version

3.4-6

License

GPL (>= 2)

Maintainer

Jonathan Lees

Last Published

January 18th, 2018

Functions in RFOC (3.4-6)

AXpoint

Extract Axis pole on Stereonet
AlongGreat

Get Points Along Great Circle
BOXarrows3D

Create a 3D Arrow structure
Beachfoc

Plot a BeachBall Focal Mechanism
CROSSL

Vector Cross Product
EApoint

Equal-area point stereonet
Bfocvec

Angles for Ternary plot
CONVERTSDR

Convert Strike-Dip-Rake to MEC structure
FOCangles

Angles for focal planes
FixDip

Fix Dip Angle
PKAM

P and T-axes data from the Harvard CMT catalog
PLTcirc

Circle Plot with Cross Hairs
MapNonDouble

Map moment tensors
MomentDist

Distance Between Moment Tensors
PTaxes

Plot P-T axis on CLVD
PlotPTsmooth

Plot Smooth PT-axes
SDRfoc

Plot a Focal Mechanism from SDR
SHradfoc

Plot SH-wave radiation
addmecpoints

Add points to Focal Mech
addsmallcirc

Small Circle on Stereonet
doNonDouble

Plot Non-double Couple Moment
RotTP

Rotate T-P axes
Rotfocphi

Rotate Focal Mechanism
TOSPHERE.DIP

convert to spherical coordinates
TOSPHERE

Convert to Spherical Coordinates
Vmoments

Cartesian Moment Tensors
Wnet

Wulff Stereonet
circtics

Draw circular ticmarks
egl

Tungurahua Cartesian Moment Tensors
plotmanyfoc

Plot Many Focals
pnet

plot stereonet
GetRake

Calculate Rake angles
GetRakeSense

Get Rake Sense
REFLECT

reflect pole
RFOC-package

Calculates and plot Earthquake Focal Mechanisms
HAMMERprojXY

Hammer Projection
JMAT

Vertical Rotation matrix
radiateSH

Plot radiation pattern for SH-waves
radiateSV

Plot radiation pattern for SV-waves
rotateFoc

Rotate Focal Mechanism
PROJ3D

Project 3D
PTXY2

Plot P-T Axes
SVradfoc

Plot SV-wave radiation
ShadowCLVD

Plot CLVD focal mechanism
KAMCORN

SDR data from the Harvard CMT catalog
MRake

Rake Calculation
PlotPlanes

Plot Fault an Auxilliary Planes
Pradfoc

Plot P-wave radiation
Preflect

Reflect a pole through to the lower hemisphere
PlotTernfoc

Ternary Distribution of focal mechanisms
ROTZ

Z-axis Rotation Matrix
RectDense

Divide a region into rectangles based on density
rotx3

Rotate about the x axis
xsecmanyfoc

Plot Focal Mechs at X-Y position on cross sections
cross.prod

Vector Cross Product
focpoint

add point on focal sphere
forcerighthand

Force Right-Hand System
mijsdr

Moment Tensor to Strike-Dip-Rake
net

EqualArea Stereonet
radSV

Radiation pattern for SV waves
radiateP

Plot radiation pattern for P-waves
ROTX

X-axis Rotation Matrix
ROTY

Y-axis Rotation Matrix
TEACHFOC

Graphical Plot of Focal Mechanism
TOCART.DIP

Convert to Cartesian
addPT

Add P-T Axis to focal plot
addPTarrows

Add fancy 3D arrows
flipnodal

Flip Nodal Fault Plane
rakelegend

Focal Legend based on rake
SourceType

Moment Tensor Source Type
StrikeDip

Plot Strike Dip Lines
Wpoint

Plot points on Wulff Stereonet
Z3Darrow

Make a 3D arrow
foc.color

Get color of Focal Mechansim
getCMT

Read CMT
getUWfocs

Get UW focals
readCMT

Read Harvard CMT moment
to.spherical

Convert Cartesian to Spherical
tocartL

Convert to cartesian coordinate
justfocXY

Plot focal mechanism
lowplane

Plot one Fault plane on stereonet
plotMEC

Plot a Focal Mechanism
plotfoc

Plot Focal Radiation Patterns
polyfoc

Polt the focal mechanism polygon
prepFOCS

Prepare Focals
roty3

Rotate about the y axis
TP2XYZ

Trend - Dip to XYZ
TRANmat

Translation Matrix
alpha95

95 percent confidence for Spherical Distribution
TapeBase

Tape Base Lines
TapePlot

Tape style Lune Plot
foc.icolor

Get Fault Style
rotz3

Rotate about the z axis
imageP

P-wave radiation pattern
imageSCALE

add scale on sice of image
makenet

Equal-Angle Stereonet
mc2cart

Convert azimuth, dip to Cartesian Coordinates
normal.fault

Normal Fault Cartoon
pcirc

Circle Plot
radP

Radiation pattern for P waves
bang

Angle between two 2D normalized vectors
fancyarrows

Make fancy arrows
faultplane

fault plane projection on focal sphere
focleg

Fault style descriptor
hudson.net

Hudson Net Plot
hudson.plot

Hudson Source Type Plot
m2tk

Moment tensor to T-k
radSH

Radiation pattern for SH waves
tosphereL

convert to spherical coordinates
widdenMoments

Cartesian Moment Tensors
imageSH

P-wave radiation pattern
imageSV

P-wave radiation pattern
inverseTAPE

Inverse Moment Tensor
jimbo

Moment Tensors from the Harvard CMT
makeblock3D

Make a 3D block Structure
pglyph3D

Plot a 3D body on an existing graphic
phong3D

Phong shading for a 3D body
printMEC

Print focal mechanism
qpoint

Point on Stereonet
strikeslip.fault

Strikeslip Fault Cartoon
ternfoc.point

Plot Ternary Point
thrust.fault

Thrust Fault Cartoon
tk2uv

Tk2uv
nipXY

Fault-Slip vector plot
nodalLines

Nodal Lines
spherefocgeo

SphereFocGeo
spline.arrow

Spline Arrow
ternfocgeo

Ternary Focals
testrightHAND

Test Right Hand of tensor