Learn R Programming

geotech

A compilation of functions for performing calculations and creating plots that commonly arise in geotechnical engineering and soil mechanics. The types of calculations that are included are:

  1. phase diagrams and index parameters,
  2. grain-size distributions,
  3. plasticity,
  4. soil classification,
  5. compaction,
  6. groundwater,
  7. subsurface stresses geostatic and induced),
  8. Mohr circle analyses,
  9. consolidation settlement and rate,
  10. shear strength,
  11. bearing capacity,
  12. lateral earth pressures,
  13. slope stability, and
  14. subsurface explorations.

Geotechnical engineering students, educators, researchers, and practitioners will find this package useful.

This package was originally created by Dr. James Kaklamanos and his student, Kyle Elmy, at Merrimack College.

Installation of geotech from CRAN

install.packages("geotech")

Help

With credit due to the matlab package, for a complete list of functions and the package DESCRIPTION file, use:

library(help = "geotech")

With credit due to Getting Help with R for the following 2 methods of help:

help(sigmaZ, package = "geotech") # Vertical Stress at a Point function help

help(package = "geotech") # help for the geotech package

Additional Information

The following link provides additional information written about the geotech R package:

https://www.geoengineer.org/education/soil-mechanics/development-of-a-geotechnical-engineering-software-package-in-r-by-dr-james-kaklamanos-merrimack-college
Geoengineer.org: Geotechnical Engineering News & Technical Resources for Geotech Professionals: Geotechnical engineering software package in R, by Dr. James Kaklamanos (Merrimack College)

New Maintainer

Irucka Embry, EIT, ME of EcoC²S is the new maintainer for this package. His undergraduate, graduate, and professional experience was in civil, environmental, and/or water resources engineering. Irucka's undergraduate civil engineering coursework included geotechnical engineering and soil mechanics. Irucka uses the geotech package in his "Sand Gradation Analysis using ASTM C136 with R" example available at https://www.ecoccs.com/R-Examples/sand-gradation.html.

Copy Link

Version

Install

install.packages('geotech')

Monthly Downloads

53

Version

1.0.2

License

GPL-3

Maintainer

Irucka Embry

Last Published

November 6th, 2026

Functions in geotech (1.0.2)

PI

Plasticity Index
grainSize.coefs

Coefficients of Uniformity and Curvature (Grain-Size Distributions)
USCS.fine.symbol

USCS Soil Classification (USCS Fine-Grained Symbol)
kFalling

Hydraulic Conductivity From Falling Head Test (Groundwater)
sigmaZ

Vertical Stress at a Point
bearingCapacity

Ultimate Bearing Capacity (Terzaghi)
kConstant

Hydraulic Conductivity From Constant Head Test (Groundwater)
sigmaX.profile

Horizontal Stress Profile (Lateral Earth Pressure)
bearingPressure

Gross Bearing Pressure (Bearing Capacity)
percentComponents

Percent Components (Grain-Size Distributions)
USCS

USCS Soil Classification
kz

Equivalent Vertical Hydraulic Conductivity (Groundwater)
geotech-package

geotech: Geotechnical Engineering
sigmaX.plot

Horizontal Stress Plot (Lateral Earth Pressure)
sigmaX

Horizontal Stress at a Point (Lateral Earth Pressure)
USCS.coarse.symbol

USCS Soil Classification (USCS Coarse-Grained Symbol)
sigmaZ.plot

Vertical Stress Plot
logAxis.plot

logAxis Plot Background Function
relDensity

Relative Density (Phase Diagrams and Index Parameters)
plasticity.plot

Casagrande's Plasticity Chart
sigmaZ.profile

Vertical Stress Profile
logAxis

logAxis Background Wrapper Function for Performing Calculations
size.from.sieve

Grain Sizes Of Sieves
soil.profile

Soil Profile Plot for Site Exploration
induced.area.profile

Induced Stress Due to Area Load: Profile
phase.params

Weight-Volume Parameters (Phase Diagrams and Index Parameters)
induced.area

Induced Stress Due to Area Load
kx

Equivalent Horizontal Hydraulic Conductivity (Groundwater)
tauMax

Maximum In-Plane Shear Stress (Mohr Circle Analyses)
phase.plot

Phase Diagrams Plot (Phase Diagrams and Index Parameters)
kPump

Hydraulic Conductivity From Pumping Tests (Groundwater)
waterContent

Water Content (Phase Diagrams and Index Parameters)
grainSize.plot

Grain-Size Plot
sigmaTrans

Stress Transformation (Mohr Circle Analyses)
sigma13

Principal Stresses (Mohr Circle Analyses)
induced.point.profile

Induced Stress Due to Point Load: Profile
wellFlow

Flow Rate to Wells (Groundwater)
induced.point

Induced Stress Due to Point Load
wellDrawdown

Well Drawdown (Groundwater)
Dsize

D-Size (Grain-Size Distributions)
Ka

Rankine Active Earth Pressures (Lateral Earth Pressure)
K

Coefficient of Lateral Earth Pressure (General)
Ko

Coefficient of Lateral Earth Pressure at Rest
Kp

Rankine Passive Earth Pressures (Lateral Earth Pressure)
FSinf

Slope Stability (Infinite Slope Analysis)
FSplanar

Slope Stability (Planar Failure Analysis)
A.line

A-Line (Plasticity)
GI

AASHTO Group Index
AASHTO

AASHTO Soil Classification (AASHTO Group Classification)
N160

SPT Correction N160 for Site Exploration
LI

Liquidity Index (Plasticity)
N60

SPT Correction N60 for Site Exploration
Nc

Bearing Capacity Factors (Nc)
Nq

Bearing Capacity Factors (Nq)
MohrCircle.calc

Mohr Circle (Calculate)
MohrCircle.plot

Mohr Circle (Plot)
LL

Liquid Limit (Plasticity)
Ngamma

Bearing Capacity Factors (Ngamma)