R/utilities-units.R
getDimensionForUnit.Rd
Get dimension for a given unit
getDimensionForUnit(unit)
Unit used to find the corresponding dimension.
Returns the name of dimension that can be used to support the given unit or NULL if the dimension cannot be found.
NULL
getDimensionForUnit("mg") #> [1] "Mass"