conv_metric: Converts between milli, centi, base, and kilo

Description Usage Arguments Details Value Examples

Description

Converts between milli, centi, base, and kilo

Usage

1
conv_metric(num, from = "", to = "")

Arguments

num

the amount of the unit you want to onvert.

from

the prefix of the original unit

to

the prefix you want to convert to

Details

num: a positive number

from: prefix of the original unit. "milli" for milli-. "centi" for centi-. "base" for the base unit. "kilo" for kilo-.

to: prefix of the unit you want to convert to. "milli" for milli-. "centi" for centi-. "base" for the base unit. "kilo" for kilo-.

Value

data frame with the converted value and prefix.

Examples

1
2
conv_metric(4,"centi", "milli" )
conv_metric(25, "base", "kilo" )

alexnakagawa/conversionr documentation built on May 20, 2019, 2:43 p.m.