Learn R Programming

geotech (version 1.0.2)

soil.profile: Soil Profile Plot for Site Exploration

Description

Plots the soil profile for use in site exploration. 1 January 2016

Usage

soil.profile(
  thk = NA,
  depth = NA,
  zw,
  type = NA,
  gamma = NA,
  phi = NA,
  C = NA,
  title = "Soil Profile",
  metric
)

Value

A plot of a soil profile

Arguments

thk

= vector of layer thicknesses (ft or m)

depth

= vector of layer bottom depths (ft or m)

zw

= depth of groundwater table (ft or m)

type

= vector of soil types (character strings)

gamma

= vector of unit weights (pcf or kN/m^3)

phi

= vector of soil friction angles (deg)

C

= vector of soil cohesion (psf or kPa)

title

= desired title of plot (default: "Soil Profile")

metric

= logical variable: TRUE (for metric units) or FALSE (for English units)

Author

Kyle Elmy and Jim Kaklamanos

Examples

Run this code
soil.profile(depth = c(20, 40, 52, 60), zw = 20,
             type = c("Dry Sand", "Saturated Sand", "Soft Clay",
               "Dense Gravel"),
             gamma = c(110, 115, 120, 150), phi = c(30, 30, NA, 38),
             C = c(NA, NA, 300, NA), metric = FALSE)


Run the code above in your browser using DataLab