tframed {tframe} | R Documentation |
Both functions construct a tframed object. These are generic functions. If tf is not a tframe object but has the necessary information then the default methods attempt to build a tframe.
tframed(x, ...) tframed(x, tf = NULL, names = NULL) settf(value, x) settf(value, x) settf(value, x) is.tframed(x)
x |
A tframed object or an object to be tframed. |
tf |
A tframe. |
This constructor is like ts but enables the tframe library's generic methods for handling time.
A tframed object.
z <- tframed(matrix(rnorm(200), 100,2), tf=list(start=c(1982,1), frequency=12)) is.tframed(z)