[R] How to create a time series object with time only (no date)

Joshua Ulrich josh.m.ulrich at gmail.com
Sun Dec 21 06:53:15 CET 2014


On Dec 20, 2014 11:11 PM, "ce" <zadig_1 at excite.com> 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 ?
>
You can't create an xts object without a date in the index. If the date
doesn't matter, you can just set it to 1970-01-01 (or any other day).

> ce
>
> ______________________________________________
> R-help at r-project.org 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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list