adjust_scale function

Convert between multipliers of the same unit, e.g. mg to kg

Convert between multipliers of the same unit, e.g. mg to kg

Converts units of the same scale, e.g. mg to kg, or mL to L.

adjust_scale(x, input, output)

Arguments

  • x: numeric.
  • input: string.
  • output: string.

Returns

A numeric.