Description Usage Arguments Value Author(s) Examples
Convert zoo series to timeSeries.
1 | zoo2timeSeries(x, ...)
|
x |
A zoo series with Date or POSIXt time class and no duplicate times. |
... |
Currently not used. |
A timeSeries data.frame object.
G. Grothendieck
1 2 3 4 5 6 | ## Not run:
library(zoo)
z <- zoo(1:3, as.Date(0:2))
zoo2timeSeries(z)
## End(Not run)
|
Loading required package: lubridate
Attaching package: 'lubridate'
The following object is masked from 'package:base':
date
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
dates minute hour day week month year z
1 1970-01-01 0 0 1 1 1 1970 1
2 1970-01-02 0 0 2 1 1 1970 2
3 1970-01-03 0 0 3 1 1 1970 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.