Learn R Programming

units (version 0.8-5)

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)

Value

length one character vector

Arguments

x

object of class units

Examples

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

Run the code above in your browser using DataLab