units

0th

Percentile

Get and Set Unit Names of a 'timeSeries'

Gets and sets the column names of a 'timeSeries' object. The column names are also called units or unit names.

Keywords
programming
Usage
getUnits(x) setUnits(x) <- value
Arguments
x
a 'timeSeries' object.
value
a vector of unit names.
See Also

timeSeries()

Aliases
  • getUnits
  • getUnits.default
  • setUnits<-
Examples
library(timeSeries) ## A Dummy timeSeries Object tS <- dummySeries() tS ## Get the Units - getUnits(tS) ## Assign New Units to the Series - setUnits(tS) <- c("A", "B") head(tS)
Documentation reproduced from package timeSeries, version 3022.101.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.