Description Usage Arguments Note See Also Examples
Flatten a uts_matrix
to a data.frame
.
1 2 | ## S3 method for class 'uts_matrix'
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_matrix_long
and uts_matrix_wide
constructors provide the opposite functionality, i.e. they convert data in long and wide format, respectively, to a uts_matrix
.
1 2 | as.data.frame(ex_uts_matrix())
as.data.frame(ex_uts_matrix(), method="long")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.