convert_units {sandbox} | R Documentation |
Convert between phi units and micrometers
Description
The function converts values from the phi-scale (Krumbein 1934, 1938) to the micrometer-scale and vice versa.
Usage
convert_units(phi, mu)
Arguments
phi |
numeric vector, grain-size class values in phi to be converted |
mu |
numeric vector, grain-size class values in micrometres to be converted |
Details
\phi = -log2(D/D_{0})
with D
the diameter in µm and D_{0}
the reference diameter.
Herer 1000 µm.
Value
numeric vector, converted grain-size class values
Author(s)
Michael Dietze, GFZ Potsdam (Germany)
References
Krumbein, W.C., 1938. Size frequency distributions of sediments and the normal phi curve. Journal of Sedimentary Research 8, 84–90. doi: 10.1306/D4269008-2B26-11D7-8648000102C1865D
Krumbein, W.C., 1934. Size frequency distributions of sediments. Journal of Sedimentary Research 4, 65–77. doi: 10.1306/D4268EB9-2B26-11D7-8648000102C1865D
Examples
## load example data set
## generate phi-values
phi <- -2:5
## convert and show phi to mu
mu <- convert_units(phi = phi)
mu
## convert and show mu to phi
convert_units(mu = mu)