as.ts_table | R Documentation |
Coerce objects to ts_table
as.ts_table(x, ...) ## S3 method for class 'zoo' as.ts_table(x, columns, ...)
x |
object to be coerced to ts_table |
columns |
character |
... |
arguments to be passed to other methods |
A generic function for coercing objects to class
ts_table
.
a ts_table
Enrico Schumann
read_ts_tables
library("zoo") as.ts_table(zoo(1:5, Sys.Date()-5:1), ## note that the "columns" columns = "value") ## must be specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.