units | R Documentation |
Units attribute.
units(x) units(x) <- value has.units(x)
x |
An object. |
value |
A |
units(x) <- value
: Set units attribute.
has.units()
: Check for attribute.
x <- 1:10 units(x) <- "cm" has.units(x) units(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.