powered by
Coerce objects to ts_table
ts_table
as.ts_table(x, ...)# S3 method for zoo as.ts_table(x, columns, ...)
# S3 method for zoo as.ts_table(x, columns, ...)
a ts_table
object to be coerced to ts_table
character
arguments to be passed to other methods
Enrico Schumann
A generic function for coercing objects to class ts_table.
read_ts_tables
library("zoo") as.ts_table(zoo(1:5, Sys.Date()-5:1), ## note that the "columns" columns = "value") ## must be specified
Run the code above in your browser using DataLab