simple.unit: Simple unit from string

View source: R/units.R

simple.unitR Documentation

Simple unit from string

Description

This function takes a simple, human readable unit (without '*' or '/'), from a string and returns a data.frame with the unit's meaning.

Usage

simple.unit(u = NULL)

Arguments

u

a unit with no fractions or products

Details

In this context, a simple unit is just a prefix, a unit kind, and an exponent, e.g. cm^2 A not-simple unit is: m/s, kg*m/s^2, kg*h

Value

a data.frame with the unit's properties


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