Learn R Programming

geotech (version 1.0.2)

Dsize: D-Size (Grain-Size Distributions)

Description

Calculates the diameter size. 1 December 2015

Usage

Dsize(N, sieve = NA, size = NA, percent, metric)

Value

The grain size corresponding to a certain percent finer (N), given a grain-size distribution

Arguments

N

= the percent corresponding to the desired D-size

sieve

= vector of sieve numbers (according to ASTM D422) that make up the grain-size distribution

size

= vector of grain sizes (in or mm) of the distribution

percent

= vector of percent passing of the grain-size distribution

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

Run the code above in your browser using DataLab