convert_velocity: Convert between velocity units-ft/s, cm/s, ft/hr, ft/min,...

Description Usage Arguments Value

View source: R/convert_velocity.R

Description

Convert between velocity units–ft/s, cm/s, ft/hr, ft/min, km/hr, km/min, m/min, m/s, miles/hr, miles/min

Usage

1
convert_velocity(x, from, to)

Arguments

x

A vector of numbers to be converted.

from

A character vector of the units x is in. Must be length 1 or same length as x.

to

A character vector of the units into which x will be converted. Must be length 1 or same length as x.

Value

A vector of numbers converted FROM old units TO new units.


mattreusswig/convertUnits documentation built on March 23, 2020, 5:26 a.m.