File: deparse_unit.Rd

package info (click to toggle)
r-cran-units 0.8-1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,068 kB
  • sloc: xml: 2,437; cpp: 175; sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{deparse_unit}
\alias{deparse_unit}
\title{deparse unit to string in product power form (e.g. km m-2 s-1)}
\usage{
deparse_unit(x)
}
\arguments{
\item{x}{object of class units}
}
\value{
length one character vector
}
\description{
deparse unit to string in product power form (e.g. km m-2 s-1)
}
\examples{
u = as_units("kg m-2 s-1", implicit_exponents = TRUE)
u
deparse_unit(u)
}