Description Usage Arguments Details Value Author(s) Examples
Converts units (to SI equivalents by default)
1 2 | convert.units(x, tounit = c("kg", "s", "m", "m3", "J", "W", "A",
"V", "C", "N", "Pa", "Hz", "mol"), fromunit = NULL)
|
x |
|
tounit |
|
fromunit |
|
Uses the table in en.opasnet.org/w/Unit_conversions for the conversions, which can be edited to contain relevant units.
See also: http://en.opasnet.org/
Returns a data.frame
J. Tuomisto jouni.tuomisto@thl.fi
1 2 3 4 | ## Not run:
convert.units(1, tounit = c("pg", "l"), fromunit = "ug /m3")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.