units {table1} | 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)