Learn R Programming

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

RFOC (version 1.0-9)

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

Description

Graphics for statistics on a sphere, as applied to geological fault data, crystalogaphy, earthquake focal mechanisms, radiation patterns, ternary plots and geographical/geological maps.

Copy Link

Version

Install

install.packages('RFOC')

Monthly Downloads

267

Version

1.0-9

License

GPL

Maintainer

Jonathan Lees

Last Published

March 11th, 2010

Functions in RFOC (1.0-9)

Beachfoc

Plot a BeachBall Focal Mechanism
CONVERTSDR

Convert Strike-Dip-Rake to MEC structure
GetRakeSense

Get Rake Sense
ROTY

Y-axis Rotation Matrix
faultplane

fault plane projection on focal sphere
RectDense

Divide a region into rectangles based on density
CROSSL

Vector Cross Product
Wnet

Wulff Stereonet
RFOC-package

Calculates and plot Earthquake Focal Mechanisms
PKAM

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

Plot SV-wave radiation
ccw

Counter Clockwise Whorl
plotfoc

Plot Focal Radiation Patterns
imageP

P-wave radiation pattern
GetRake

Calculate Rake angles
AlongGreat

Get Points Along Great Circle
net

EqualArea Stereonet
TRANmat

Translation Matrix
TEACHFOC

Graphical Plot of Focal Mechanism
FixDip

Fix Dip Angle
TOSPHERE.DIP

convert to spherical coordinates
imageSV

P-wave radiation pattern
PlotPlanes

Plot Fault an Auxilliary Planes
BOXarrows3D

Create a 3D Arrow structure
mc2cart

Convert azimuth, dip to Cartesian Coordinates
tocartL

Convert to cartesian coordinate
GreatDist

Distance Along Great Circle Arc
addPT

Add P-T Axis to focal plot
xprod

Vector Cross Product
MRake

Rake Calculation
Pradfoc

Plot P-wave radiation
radiateP

Plot radiation pattern for P-waves
PlotPTsmooth

Plot Smooth PT-axes
radSV

Radiation pattern for SV waves
foc.color

Get color of Focal Mechansim
addmecpoints

Add points to Focal Mech
KAMCORN

SDR data from the Harvard CMT catalog
lowplane

Plot one Fault plane on stereonet
circle

circle coordinates
pglyph3D

Plot a 3D body on an existing graphic
alpha95

95 percent confidence for Spherical Distribution
REFLECT

reflect pole
bang

Angle between two 2D normalized vectors
TOCART

Convert to Cartesian coordinates
AXpoint

Extract Axis pole on Stereonet
normal.fault

Normal Fault Cartoon
addsmallcirc

Small Circle on Stereonet
PlotTernfoc

Ternary Distribution of focal mechanisms
SHradfoc

Plot SH-wave radiation
Lintersect

Finder intersection of lines
radP

Radiation pattern for P waves
inpoly

Test set of points for inside/outside polygon
ROTZ

Z-axis Rotation Matrix
meshgrid

Create a mesh grid like in Matlab
pcirc

Circle Plot
TOSPHERE

Convert to Spherical Coordinates
addPTarrows

Add fancy 3D arrows
fmod

Floating point remainer function
roty3

Rotate about the y axis
Z3Darrow

Make a 3D arrow
qpoint

Point on Stereonet
inside

Determine if point is inside polygon
SDRfoc

Plot a Focal Mechanism from SDR
Bfocvec

Angles for Ternary plot
fancyarrows

Make fancy arrows
EApoint

Equal-area point stereonet
cross.prod

Vector Cross Product
radSH

Radiation pattern for SH waves
PLTcirc

Circle Plot with Cross Hairs
Preflect

Reflect a pole through to the lower hemisphere
makeblock3D

Make a 3D block Structure
ternfocgeo

Ternary Focals
circtics

Draw circular ticmarks
foc.icolor

Get Fault Style
printMEC

Print focal mechanism
rotz3

Rotate about the z axis
antipolygon

Fill the complement of a polygon
justfocXY

Plot focal mechanism
nipXY

Fault-Slip vector plot
Wpoint

Plot points on Wulff Stereonet
plotMEC

Plot a Focal Mechanism
radiateSV

Plot radiation pattern for SV-waves
radiateSH

Plot radiation pattern for SH-waves
ternfoc.point

Plot Ternary Point
getjul

Get Julian day
getUWfocs

Get UW focals
focpoint

add point on focal sphere
thrust.fault

Thrust Fault Cartoon
focleg

Fault style descriptor
phong3D

Phong shading for a 3D body
spherefocgeo

SphereFocGeo
to.spherical

Convert Cartesian to Spherical
tojul

Julian Day
strikeslip.fault

Strikeslip Fault Cartoon
imageSH

P-wave radiation pattern
PROJ3D

Project 3D
rotx3

Rotate about the x axis
TOCART.DIP

Convert to Cartesian
imageSCALE

add scale on sice of image
makenet

Equal-Angle Stereonet
StrikeDip

Plot Strike Dip Lines
getCMT

Read CMT
polyfoc

Polt the focal mechanism polygon
ROTX

X-axis Rotation Matrix
plotmanyfoc

Plot Many Focals
pnet

plot stereonet
tosphereL

convert to spherical coordinates
prepFOCS

Prepare Focals