unit.kind | R Documentation |
This function reads a unit, without SI prefix, and returns a string from a smaller subset of unit kinds, similar to what is defined in SBML. This normalizes the various ways to write the same unit: "meter", "m" and "metre".
unit.kind(kind)
kind |
the unnormalized string that humans use to write a unit (but without prefix) |
The unit kind of "m" is "metre", the kind of "g" is "gram".
normalized category name of the unit kind: litre, mole, metre, kilogram, gram, ampere, candela, second, kelvin, hour, molarity, dimensionless. defaults to dimensionless.
> unit.kind("meter")
[1] "metre"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.