man/deparse_unit.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/misc.R |
| 3 | \name{deparse_unit} |
| 4 | \alias{deparse_unit} |
| 5 | \title{deparse unit to string in product power form (e.g. km m-2 s-1)} |
| 6 | \usage{ |
| 7 | deparse_unit(x) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{x}{object of class units} |
| 11 | } |
| 12 | \value{ |
| 13 | length one character vector |
| 14 | } |
| 15 | \description{ |
| 16 | deparse unit to string in product power form (e.g. km m-2 s-1) |
| 17 | } |
| 18 | \examples{ |
| 19 | u = as_units("kg m-2 s-1") |
| 20 | u |
| 21 | deparse_unit(u) |
| 22 | } |