View source: R/utilities-units.R
validateUnit | R Documentation |
Validate unit
validateUnit(unit, dimension)
unit |
String name of the unit |
dimension |
String name of the dimension. |
Check if the unit is valid for the dimension. If not, throw an error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.