Learn R Programming

geotech (version 1.0.2)

grainSize.plot: Grain-Size Plot

Description

Produces the grain-size plot. 1 December 2015

Usage

grainSize.plot(sieve = NA, size = NA, percent, metric)

Value

Plot of soil's grain-size distribution

Arguments

sieve

= vector of sieve numbers according to ASTM D422

size

= vector of grain sizes (in or mm)

percent

= vector of percent passing

metric

= logical variable: TRUE for metric units (mm), FALSE for English units (in)

Author

Kyle Elmy and Jim Kaklamanos

Examples

Run this code
sieve.example <- c(3/8, 4, 10, 20, 40, 140, 200)
percent.example <- c(95.72, 90.23, 81.49, 66.36, 50.00, 8.51, 4.82) 
grainSize.plot(sieve = sieve.example, percent = percent.example, metric =
TRUE)

Run the code above in your browser using DataLab