Learn R Programming

geotech (version 1.0.2)

percentComponents: Percent Components (Grain-Size Distributions)

Description

Calculates the percent components. 1 December 2015

Usage

percentComponents(sieve = NA, size = NA, percent, metric)

Value

A three-element list containing: pg = Percent gravel, ps = Percent sand, and pf = Percent fines

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) 
percentComponents(sieve = sieve.example, percent = percent.example, metric =
TRUE)

Run the code above in your browser using DataLab