Description Usage Arguments Note See Also Examples
Flatten a uts_vector
to a data.frame
.
1 2 | ## S3 method for class 'uts_vector'
as.data.frame(x, ..., method = "wide")
|
x |
a |
... |
further arguments passed to or from methods. |
method |
either
|
Only time series with atomic observation values can be coerced to a data.frame
.
This method is helpful for saving a multivariate time series to a human-readable text file.
The uts_vector_long
and uts_vector_wide
constructors provide the opposite funcitonality, i.e. they convert data in long and wide format, respectively, to a uts_vector
.
1 2 | as.data.frame(ex_uts_vector())
as.data.frame(ex_uts_vector(), method="long")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.