Plot of Soil Profile

Description

This function creates a plot of a soil profile.

Usage

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

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 (deafult: "Soil Profile")

metric

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

Details

  • Either layer thicknesses or depth to layer bottoms must be specified.

  • The only necessary variables are thk (or depth), zw, and metric. All other variables are optional.

Value

This function creates a plot of a soil profile; no numerical values are returned.

Author(s)

James Kaklamanos <kaklamanosj@merrimack.edu> and Kyle Elmy <ElmyK@merrimack.edu>

Examples

1
2
3
4
5
##  Example code for plot of a soil profile
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)