UStoEU: Converts US units to European and vice versa

View source: R/UStoEU.R

UStoEUR Documentation

Converts US units to European and vice versa

Description

The package converts American units such as 'ft, 'in', 'lbs' to European units: 'm', 'cm', 'kg' and vice versa. 'ft' can also be written as 'foot' and 'feet'. 'in' can also be written as 'inch' and 'inches'. 'm' can also be written as 'meter' and 'metre'. 'cm' can also be written as 'centimeter' and 'centimetre'.

Usage

UStoEU(x, from, to, return = "value", ...)

Arguments

x

numeric value

from

possible values to choose from: 'ft, 'in', 'm', 'cm', 'lbs'

to

possible values to choose from: 'ft, 'in', 'm', 'cm', 'lbs'

return

possible values to choose from: 'value', 'ft&in'

...

other parameters

Value

Function returns a measure in the selected unit

Author(s)

Olga Chwedoruk, Tomasz Bugajski


bugajskitom/UStoEU documentation built on Jan. 12, 2025, 8:54 a.m.