Description Usage Arguments Value Examples
Get or set the "units" attribute of a numeric vector. If set, implicitly promotes the vector to class "quantity".
1 2 | units.numeric(x)
units.numeric(x) <- value
|
x |
vector deriving from class "numeric" |
value |
character string |
vector of class "quantity" with attribute "units" set to value
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.