toUnit: Convert Units

Description Usage Arguments Details Value Author(s) Examples

Description

convert between different length units

Usage

1
toUnit(n,from = "feet", to = "meter")

Arguments

n

number to convert

from

units to convert from

n

units to convert to

Details

Units supplied must match one of the following "inch","feet","yard","mile", "fathom", "milimeter", "centimeter", "meter", "kilometer","in","ft","yd","mi", "mm", "cm", "m", "km"

Value

returns a fector of the same length as n

Author(s)

Connor White

Examples

1
2
toUnit(n=12, from="in",to="ft")
toUnit(n=12, from="in",to="mile")

ConnorFWhite/AssFunc documentation built on May 20, 2019, 4:07 p.m.