Package: RFOC 3.4-10

RFOC: Graphics for Spherical Distributions and Earthquake Focal Mechanisms

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.

Authors:Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]

RFOC_3.4-10.tar.gz
RFOC_3.4-10.zip(r-4.5)RFOC_3.4-10.zip(r-4.4)RFOC_3.4-10.zip(r-4.3)
RFOC_3.4-10.tgz(r-4.4-any)RFOC_3.4-10.tgz(r-4.3-any)
RFOC_3.4-10.tar.gz(r-4.5-noble)RFOC_3.4-10.tar.gz(r-4.4-noble)
RFOC_3.4-10.tgz(r-4.4-emscripten)RFOC_3.4-10.tgz(r-4.3-emscripten)
RFOC.pdf |RFOC.html
RFOC/json (API)

# Install 'RFOC' in R:
install.packages('RFOC', repos = c('https://jonathanlees.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • KAMCORN - SDR data from the Harvard CMT catalog
  • PKAM - P and T-axes data from the Harvard CMT catalog
  • Vmoments - Cartesian Moment Tensors
  • egl - Tungurahua Cartesian Moment Tensors
  • jimbo - Moment Tensors from the Harvard CMT
  • widdenMoments - Cartesian Moment Tensors

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.12 score 133 scripts 369 downloads 1 mentions 122 exports 24 dependencies

Last updated 1 years agofrom:c4a913fe60. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winNOTENov 01 2024
R-4.5-linuxNOTENov 01 2024
R-4.4-winNOTENov 01 2024
R-4.4-macNOTENov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:addmecpointsaddPTaddPTarrowsaddsmallcircAlongGreatalpha95AXpointbangBeachfocBfocvecBOXarrows3DcircticsCONVERTSDRcross.prodCROSSLdoNonDoubleEApointfancyarrowsfaultplaneFixDipflipnodalfoc.colorfoc.icolorFOCanglesfoclegfocpointforcerighthandgetCMTGetRakeGetRakeSensegetUWfocsHAMMERprojXYhudson.nethudson.plotimagePimageSCALEimageSHimageSVinverseTAPEJMATjustfocXYlowplanem2tkmakeblock3DmakenetMapNonDoublemc2cartmijsdrMomentDistMRakenetnipXYnodalLinesnormal.faultpcircpglyph3Dphong3DplotfocplotmanyfocplotMECPlotPlanesPlotPTsmoothPlotTernfocPLTcircpnetpolyfocPradfocPreflectprepFOCSprintMECPROJ3DPTaxesPTXY2qpointradiatePradiateSHradiateSVradPradSHradSVrakelegendreadCMTRectDenseREFLECTrotateFocRotfocphiRotTPROTXrotx3ROTYroty3ROTZrotz3SDRfocShadowCLVDSHradfocSourceTypespherefocgeospline.arrowStrikeDipstrikeslip.faultSVradfocTapeBaseTapePlotTEACHFOCternfoc.pointternfocgeotestrightHANDthrust.faulttk2uvto.sphericalTOCART.DIPtocartLTOSPHERETOSPHERE.DIPtosphereLTP2XYZTRANmatWnetWpointxsecmanyfocZ3Darrow

Dependencies:BHclassclassIntDBIdotCall64e1071fieldsGEOmapKernSmoothmagrittrmapsMASSMBAproxyRcppRPMGRSEISRwaves2sfspamunitsviridisLitewk

Readme and manuals

Help Manual

Help pageTopics
Calculates and plot Earthquake Focal MechanismsRFOC-package RFOC
Add points to Focal Mechaddmecpoints
Add P-T Axis to focal plotaddPT
Add fancy 3D arrowsaddPTarrows
Small Circle on Stereonetaddsmallcirc
Get Points Along Great CircleAlongGreat
95 percent confidence for Spherical Distributionalpha95
Extract Axis pole on StereonetAXpoint
Angle between two 2D normalized vectorsbang
Plot a BeachBall Focal MechanismBeachfoc
Angles for Ternary plotBfocvec
Create a 3D Arrow structureBOXarrows3D
Draw circular ticmarkscirctics
Convert Strike-Dip-Rake to MEC structureCONVERTSDR
Vector Cross Productcross.prod
Vector Cross ProductCROSSL
Plot Non-double Couple MomentdoNonDouble
Equal-area point stereonetEApoint
Tungurahua Cartesian Moment Tensorsegl
Make fancy arrowsfancyarrows
fault plane projection on focal spherefaultplane
Fix Dip AngleFixDip
Flip Nodal Fault Planeflipnodal
Get color of Focal Mechansimfoc.color
Get Fault Stylefoc.icolor
Angles for focal planesFOCangles
Fault style descriptorfocleg
add point on focal spherefocpoint
Force Right-Hand Systemforcerighthand
Read CMTgetCMT
Calculate Rake anglesGetRake
Get Rake SenseGetRakeSense
Get UW focalsgetUWfocs
Hammer ProjectionHAMMERprojXY
Hudson Net Plothudson.net
Hudson Source Type Plothudson.plot
P-wave radiation patternimageP
add scale on sice of imageimageSCALE
P-wave radiation patternimageSH
P-wave radiation patternimageSV
Inverse Moment TensorinverseTAPE
Moment Tensors from the Harvard CMTjimbo
Vertical Rotation matrixJMAT
Plot focal mechanismjustfocXY
SDR data from the Harvard CMT catalogKAMCORN
Plot one Fault plane on stereonetlowplane
Moment tensor to T-km2tk
Make a 3D block Structuremakeblock3D
Equal-Angle Stereonetmakenet
Map moment tensorsMapNonDouble
Convert azimuth, dip to Cartesian Coordinatesmc2cart
Moment Tensor to Strike-Dip-Rakemijsdr
Distance Between Moment TensorsMomentDist
Rake CalculationMRake
EqualArea Stereonetnet
Fault-Slip vector plotnipXY
Nodal LinesnodalLines
Normal Fault Cartoonnormal.fault
Circle Plotpcirc
Plot a 3D body on an existing graphicpglyph3D
Phong shading for a 3D bodyphong3D
P and T-axes data from the Harvard CMT catalogPKAM
Plot Focal Radiation Patternsplotfoc
Plot Many Focalsplotmanyfoc
Plot a Focal MechanismplotMEC
Plot Fault an Auxilliary PlanesPlotPlanes
Plot Smooth PT-axesPlotPTsmooth
Ternary Distribution of focal mechanismsPlotTernfoc
Circle Plot with Cross HairsPLTcirc
plot stereonetpnet
Polt the focal mechanism polygonpolyfoc
Plot P-wave radiationPradfoc
Reflect a pole through to the lower hemispherePreflect
Prepare FocalsprepFOCS
Print focal mechanismprintMEC
Project 3DPROJ3D
Plot P-T axis on CLVDPTaxes
Plot P-T AxesPTXY2
Point on Stereonetqpoint
Plot radiation pattern for P-wavesradiateP
Plot radiation pattern for SH-wavesradiateSH
Plot radiation pattern for SV-wavesradiateSV
Radiation pattern for P wavesradP
Radiation pattern for SH wavesradSH
Radiation pattern for SV wavesradSV
Focal Legend based on rakerakelegend
Read Harvard CMT momentreadCMT
Divide a region into rectangles based on densityRectDense
reflect poleREFLECT
Rotate Focal MechanismrotateFoc
Rotate Focal MechanismRotfocphi
Rotate T-P axesRotTP
X-axis Rotation MatrixROTX
Rotate about the x axisrotx3
Y-axis Rotation MatrixROTY
Rotate about the y axisroty3
Z-axis Rotation MatrixROTZ
Rotate about the z axisrotz3
Plot a Focal Mechanism from SDRSDRfoc
Plot CLVD focal mechanismShadowCLVD
Plot SH-wave radiationSHradfoc
Moment Tensor Source TypeSourceType
SphereFocGeospherefocgeo
Spline Arrowspline.arrow
Plot Strike Dip LinesStrikeDip
Strikeslip Fault Cartoonstrikeslip.fault
Plot SV-wave radiationSVradfoc
Tape Base LinesTapeBase
Tape style Lune PlotTapePlot
Graphical Plot of Focal MechanismTEACHFOC
Plot Ternary Pointternfoc.point
Ternary Focalsternfocgeo
Test Right Hand of tensortestrightHAND
Thrust Fault Cartoonthrust.fault
Tk2uvtk2uv
Convert Cartesian to Sphericalto.spherical
Convert to CartesianTOCART.DIP
Convert to cartesian coordinatetocartL
Convert to Spherical CoordinatesTOSPHERE
convert to spherical coordinatesTOSPHERE.DIP
convert to spherical coordinatestosphereL
Trend - Dip to XYZTP2XYZ
Translation MatrixTRANmat
Cartesian Moment TensorsVmoments
Cartesian Moment TensorswiddenMoments
Wulff StereonetWnet
Plot points on Wulff StereonetWpoint
Plot Focal Mechs at X-Y position on cross sectionsxsecmanyfoc
Make a 3D arrowZ3Darrow