Description Usage Arguments Examples
Converts between different units of measure.
1 | convert_units(x, from = x, to)
|
x |
Object coercible to |
from |
Units or character string (see |
to |
Units or character string (see |
1 2 3 4 | convert_units(1, "km", "m")
x <- as_units(1, "km")
convert_units(x, to = x)
convert_units(x, to = "m")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.