c_qty | R Documentation |
Concatenate multiple quantity vectors or values. They must all be of the same type (i.e. you cannot combine e.g. a temperature and a mass value). The concatenated values will be scaled according to best_metric
. Note that the regular 'c()' operator automatically calls this function if the first argument is a quantity object.
c_qty(...)
... |
quantities to concatenate |
c_qty(qty(5, "g"), qty(c(10, 20), "mg")) # MediaChemToolsMass [mg]: 5000, 10, 20
c(qty(5, "g"), qty(c(10, 20), "mg")) # same (shortcut for the above)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.