powered by
The function converts values from the phi-scale to the micrometer-scale and vice versa.
convert.units(phi, mu)
Numeric vector, grain-size class values in phi to be converted.
Numeric
Numeric vector, grain-size class values in micrometres to be converted.
Numeric vector, converted grain-size class values.
interpolate.classes
# NOT RUN { ## 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) # }
Run the code above in your browser using DataLab