dimInfo: Return a data.frame describing each dimension of the units (1...

View source: R/unit.conversions.R

dimInfoR Documentation

Return a data.frame describing each dimension of the units (1 row per dimension)

Description

Return a data.frame describing each dimension of the units (1 row per dimension)

Usage

dimInfo(unitstr)

Arguments

unitstr

A single string representing one set of units dimension

Examples

loadflex:::dimInfo('kg') # 'mg'
loadflex:::dimInfo('ha') # 'km^2'
loadflex:::dimInfo('kg d^-1') # NA
loadflex:::dimInfo('m^3') # NA
loadflex:::dimInfo('kk') # NA

USGS-R/loadflex documentation built on July 26, 2023, 9:54 p.m.