Skip to contents

Convert numeric values to a different scale

Usage

lb2kg(x)

lb2mt(x)

kg2lb(x)

kg2_1000lb(x)

kg2mt(x)

inch2mm(x)

inch2cm(x)

mm2inch(x)

cm2inch(x)

divide_1000(x)

divide_100(x)

divide_10(x)

multiply_1000(x)

multiply_100(x)

multiply_10(x)

Arguments

x

A vector of numeric values

Value

The vector of numeric values converted to the appropriate scale

Functions

  • lb2kg(): Convert from pounds to kilograms

  • lb2mt(): Convert from pounds to metric tons

  • kg2lb(): Convert from kilograms to pounds

  • kg2_1000lb(): Convert from kilograms to 1000 pounds

  • kg2mt(): Convert from kilograms to metric tons

  • inch2mm(): Convert from inches to millimeters

  • inch2cm(): Convert from inches to centimeters

  • mm2inch(): Convert from millimeters to inches

  • cm2inch(): Convert from centimeters to inches

  • divide_1000(): Divide values by 1000

  • divide_100(): Divide values by 100

  • divide_10(): Divide values by 10

  • multiply_1000(): Multiply values by 1000

  • multiply_100(): Multiply values by 100

  • multiply_10(): Multiply values by 10

Examples

lb2kg(1:10)
#>  [1] 0.453592 0.907184 1.360776 1.814368 2.267960 2.721552 3.175144 3.628736
#>  [9] 4.082328 4.535920
kg2lb(1:10)
#>  [1]  2.204624  4.409249  6.613873  8.818498 11.023122 13.227747 15.432371
#>  [8] 17.636995 19.841620 22.046244