powered by
Convert all units, regardless of starting and ending units
convert_units(meas, from_unit, to_unit, conversion_columns = NULL)
The measurement in converted units
A measurement in any unit of length
A string containing the original unit of measure to be converted
A string containing the ending unit of measure
A vector containing the columns to convert if meas is of type data.frame
meas
data.frame
convert_units(1, "in", "cm") convert_units(100, "cm", "m")
Run the code above in your browser using DataLab