Gets and sets the column names of a 'timeSeries' object. The
column names are also called units or unit names.
setUnits(x) <- value
a 'timeSeries' object.
a vector of unit names.
## A Dummy timeSeries Object
tS <- dummySeries()
## Get the Units -
## Assign New Units to the Series -
setUnits(tS) <- c("A", "B")
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.