Description Usage Arguments Details Value Examples
Given a user defined 'short-hand' code for a parameter, unit of parameter-unit combination this functions returns a label in the selected markup language.
1 2 3 4 5 |
sh |
User defined 'short-hand' code for a parameter, unit or 'parameter.unit' combination |
output |
The desired markup languages to be returned |
definitions |
A file path to a csv file containing definitions and markup conversions |
User defined 'short-hand' code for a parameters and units and their conversions into different markup languages are stored in a data file data/definitions.csv
. Edit this file to add or adjust definitions. Short hand code can take any form, but may not contain R's reserved words (http://cran.r-project.org/doc/manuals/r-release/R-lang.html#Reserved-words). Parameter-unit combinations should be delimitated by a '.'
A character string in the desired markup representing the requested label
uls
returns the quantity symbol
ulu
returns the quantity units in the specified markup
ul
returns the combined quantity-units in the specified markup
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.