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

deparse_unit

deparse unit to string in product power form (e.g. km m-2 s-1)


Description

deparse unit to string in product power form (e.g. km m-2 s-1)

Usage

deparse_unit(x)

Arguments

x

object of class units

Value

length one character vector

Examples

u = as_units("kg m-2 s-1", implicit_exponents = TRUE)
u
deparse_unit(u)

units

Measurement Units for R Vectors

v0.7-1
GPL-2
Authors
Edzer Pebesma [aut, cre] (<https://orcid.org/0000-0001-8049-7069>), Thomas Mailund [aut], Tomasz Kalinowski [aut], James Hiebert [ctb], Iñaki Ucar [aut] (<https://orcid.org/0000-0001-6403-5550>)
Initial release

We don't support your browser anymore

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