convert.units: Convert between phi and micrometers.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/convert.units.R

Description

The function converts values from the phi-scale to the micrometer-scale and vice versa.

Usage

1
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.

Value

Numeric vector, converted grain-size class values.

Author(s)

Michael Dietze, Elisabeth Dietze

See Also

interpolate.classes

Examples

1
2
3
4
5
6
7
8
9
## 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)

EMMAgeo documentation built on Dec. 16, 2019, 5:44 p.m.