Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

translateUnit

Function to translate multipliers


Description

This function translates number to character name or vice versa

Usage

translateUnit(vec)

Arguments

vec

The vector containing name or number to be translated

Examples

## Create numeric vector
myUnit = c(1000, 1e6, 1000, 1e9, 1e9, 1e12)

## Translate numeric to character
myUnit2 = translateUnit(myUnit)
myUnit2

## Now translate back
translateUnit(myUnit2)

FAOSTAT

Download Data from the FAOSTAT Database

v2.2.1
GPL (>= 2)
Authors
Michael C. J. Kao <michael.kao@fao.org>, Markus Gesmann, Filippo Gheri
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.