deparse_unit {units} | R Documentation |
deparse unit to string in product power form (e.g. km m-2 s-1)
deparse_unit(x) as_cf(x)
x |
object of class units |
as_cf
is deprecated; use deparse_unit
.
length one character vector
u = as_units("kg m-2 s-1", implicit_exponents = TRUE) u deparse_unit(u)