as.ts_table {tsdb} | R Documentation |
Coerce to ts_table
Description
Coerce objects to ts_table
Usage
as.ts_table(x, ...)
## S3 method for class 'zoo'
as.ts_table(x, columns, ...)
Arguments
x |
object to be coerced to ts_table |
columns |
character |
... |
arguments to be passed to other methods |
Details
A generic function for coercing objects to class
ts_table
.
Value
a ts_table
Author(s)
Enrico Schumann
See Also
Examples
library("zoo")
as.ts_table(zoo(1:5, Sys.Date()-5:1), ## note that the "columns"
columns = "value") ## must be specified
[Package tsdb version 1.1-0 Index]