unit.info: Prints an interpretation string of a unit

View source: R/units.R

unit.infoR Documentation

Prints an interpretation string of a unit

Description

given a string describing a unit of measurement, this function prints the interpretation on screen, rather than returning it as a data.frame

Usage

unit.info(unit.str, unit = unit.from.string(unit.str))

Arguments

unit.str

unit string

unit

optionally, the data.frame that describes the unit

Examples

> unit.info("km/h",unit.from.string("km/h"))
«km/h» has been interpreted as:
(1 × metre×10^(3))^(1)
(60 × second×10^(0))^(-1)

a-kramer/SBtabVFGEN documentation built on Nov. 14, 2024, 8:41 p.m.