On Sun, Dec 21, 2014 at 12:09 AM, ce <[email protected]> wrote:
>
> Dear all,
>
> I want to create a time series object from 00:00:00 to 23:59:00 without dates
> ?
> I can't figure it out with xts ?
>
This uses zoo, rather than xts:
library(zoo)
library(chron)
tt <- seq(times("00:00:00"), times("23:59:00"), by = times("00:01:00"))
dat <- 1:1440
z <- zoo(dat, tt)
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.