| .unit_ifnot | R Documentation |
Function to convert quantity to one with units (if unitless).
.unit_ifnot(x, unit)
x |
: value to attach units |
unit |
: units to attach |
Uses grid::unit() to attach units.
x with units attached
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.