Learn R Programming

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

RFOC (version 3.2)

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

267

Version

3.2

License

GPL

Maintainer

Jonathan Lees

Last Published

December 18th, 2012

Functions in RFOC (3.2)

PlotPlanes

Plot Fault an Auxilliary Planes
addmecpoints

Add points to Focal Mech
SDRfoc

Plot a Focal Mechanism from SDR
radSV

Radiation pattern for SV waves
hudson.net

Hudson Net Plot
ROTY

Y-axis Rotation Matrix
PKAM

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

Rotate T-P axes
PTaxes

Plot P-T axis on CLVD
AlongGreat

Get Points Along Great Circle
focpoint

add point on focal sphere
BOXarrows3D

Create a 3D Arrow structure
roty3

Rotate about the y axis
fancyarrows

Make fancy arrows
RFOC-package

Calculates and plot Earthquake Focal Mechanisms
EApoint

Equal-area point stereonet
GetRake

Calculate Rake angles
radiateSV

Plot radiation pattern for SV-waves
Bfocvec

Angles for Ternary plot
strikeslip.fault

Strikeslip Fault Cartoon
MomentDist

Distance Between Moment Tensors
Pradfoc

Plot P-wave radiation
getUWfocs

Get UW focals
thrust.fault

Thrust Fault Cartoon
PLTcirc

Circle Plot with Cross Hairs
printMEC

Print focal mechanism
GetRakeSense

Get Rake Sense
ROTZ

Z-axis Rotation Matrix
bang

Angle between two 2D normalized vectors
makenet

Equal-Angle Stereonet
addPT

Add P-T Axis to focal plot
SHradfoc

Plot SH-wave radiation
PROJ3D

Project 3D
HAMMERprojXY

Hammer Projection
JMAT

Vertical Rotation matrix
StrikeDip

Plot Strike Dip Lines
imageSV

P-wave radiation pattern
faultplane

fault plane projection on focal sphere
TOCART.DIP

Convert to Cartesian
nipXY

Fault-Slip vector plot
FOCangles

Angles for focal planes
testrightHAND

Test Right Hand of tensor
widdenMoments

Cartesian Moment Tensors
CROSSL

Vector Cross Product
REFLECT

reflect pole
net

EqualArea Stereonet
spherefocgeo

SphereFocGeo
imageSH

P-wave radiation pattern
imageP

P-wave radiation pattern
addsmallcirc

Small Circle on Stereonet
MRake

Rake Calculation
getCMT

Read CMT
qpoint

Point on Stereonet
AXpoint

Extract Axis pole on Stereonet
Beachfoc

Plot a BeachBall Focal Mechanism
ShadowCLVD

Plot CLVD focal mechanism
Preflect

Reflect a pole through to the lower hemisphere
FixDip

Fix Dip Angle
polyfoc

Polt the focal mechanism polygon
MapNonDouble

Map moment tensors
CONVERTSDR

Convert Strike-Dip-Rake to MEC structure
doNonDouble

Plot Non-double Couple Moment
SourceType

Moment Tensor Source Type
Vmoments

Cartesian Moment Tensors
RectDense

Divide a region into rectangles based on density
PlotTernfoc

Ternary Distribution of focal mechanisms
nodalLines

Nodal Lines
PlotPTsmooth

Plot Smooth PT-axes
TP2XYZ

Trend - Dip to XYZ
foc.color

Get color of Focal Mechansim
TOSPHERE.DIP

convert to spherical coordinates
normal.fault

Normal Fault Cartoon
TRANmat

Translation Matrix
radSH

Radiation pattern for SH waves
TapePlot

Tape style Lune Plot
rotateFoc

Rotate Focal Mechanism
forcerighthand

Force Right-Hand System
circtics

Draw circular ticmarks
foc.icolor

Get Fault Style
rotx3

Rotate about the x axis
Z3Darrow

Make a 3D arrow
mc2cart

Convert azimuth, dip to Cartesian Coordinates
Wpoint

Plot points on Wulff Stereonet
alpha95

95 percent confidence for Spherical Distribution
m2tk

Moment tensor to T-k
Wnet

Wulff Stereonet
radiateP

Plot radiation pattern for P-waves
pnet

plot stereonet
TEACHFOC

Graphical Plot of Focal Mechanism
to.spherical

Convert Cartesian to Spherical
ROTX

X-axis Rotation Matrix
spline.arrow

Spline Arrow
rotz3

Rotate about the z axis
focleg

Fault style descriptor
radP

Radiation pattern for P waves
SVradfoc

Plot SV-wave radiation
Rotfocphi

Rotate Focal Mechanism
phong3D

Phong shading for a 3D body
addPTarrows

Add fancy 3D arrows
plotmanyfoc

Plot Many Focals
cross.prod

Vector Cross Product
hudson.plot

Hudson Source Type Plot
lowplane

Plot one Fault plane on stereonet
makeblock3D

Make a 3D block Structure
mijsdr

Moment Tensor to Strike-Dip-Rake
imageSCALE

add scale on sice of image
plotMEC

Plot a Focal Mechanism
readCMT

Read Harvard CMT moment
tocartL

Convert to cartesian coordinate
plotfoc

Plot Focal Radiation Patterns
ternfocgeo

Ternary Focals
pcirc

Circle Plot
pglyph3D

Plot a 3D body on an existing graphic
rakelegend

Focal Legend based on rake
prepFOCS

Prepare Focals
jimbo

Moment Tensors from the Harvard CMT
tosphereL

convert to spherical coordinates
radiateSH

Plot radiation pattern for SH-waves
xsecmanyfoc

Plot Focal Mechs at X-Y position on cross sections
TapeBase

Tape Base Lines
TOSPHERE

Convert to Spherical Coordinates
justfocXY

Plot focal mechanism
inverseTAPE

Inverse Moment Tensor
KAMCORN

SDR data from the Harvard CMT catalog
tk2uv

Tk2uv
ternfoc.point

Plot Ternary Point