conv_multiunit: Convert Units of Measurement Composed of Multiple Units
Description
Converts complex units of measurement that are joined by " / " or " * ". This function supports all dimensions in conv_unit_options except for coordinates.
Usage
conv_multiunit(x = 1, from, to)
Arguments
x
a numeric vector giving the measurement value in its original units. Default is 1.
from, to
a string defining the multiunit with subunits separated by " / " or " * ".
# NOT RUN {conv_multiunit(x = 10, from = "ft / hr * F", to = "m / min * C")
conv_multiunit(x = 1:100, from = "gal_per_min * ft / psi * hp", to = "l_per_hr * km / kPa * kW")
# }