Description Usage Arguments Value Examples
convert a ts to a data frame for plotting
1 | ts_to_df(x)
|
x |
a ts, zoo or xts object |
data frame with first column the time dimension and second column the values
1 2 3 4 | # df<-ts_to_df(hc4)
# head(df, 1)
## Jaar hc4
## 1850 0.03
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.