[R] xts dates spacings
devol
sunduck at gmail.com
Sat Oct 3 07:47:04 CEST 2009
Please also find below an example of what I meant (and sorry that I forgot to
do it before)
> class(thedata)
[1] "xts" "zoo"
> thedata
thecolumn
2009-09-24 18:44:00 -60.34653
2009-09-24 18:45:00 -70.34653
2009-09-24 19:10:00 389.65347
2009-09-24 19:13:00 526.18462
2009-09-24 19:20:00 595.88177
2009-09-24 19:23:00 391.21376
2009-09-24 19:24:00 129.44164
2009-09-24 19:26:00 487.51082
2009-09-24 19:28:00 548.75286
2009-09-24 19:30:00 738.88320
2009-09-24 19:38:00 296.21436
2009-09-24 19:47:00 505.88466
2009-09-24 19:48:00 394.64898
2009-09-24 19:50:00 441.44369
2009-09-24 20:11:00 456.95179
2009-09-25 10:31:00 -483.92521
2009-09-25 10:32:00 -821.79402
2009-09-25 10:33:00 -382.56616
2009-09-25 10:34:00 121.78882
2009-09-25 10:35:00 -138.87696
2009-09-25 10:36:00 -319.00630
2009-09-25 10:37:00 -352.86793
2009-09-25 10:38:00 -180.49100
2009-09-25 10:39:00 -98.86423
2009-09-25 10:40:00 -158.06193
2009-09-25 10:41:00 -132.81620
>
And it look in my R in the following way
http://www.nabble.com/file/p25725969/spacespicture.png
The question is how to remove the space btw the dates.
Thanks!
devol wrote:
>
> Hello!
>
> Please help - can't find any options how to remove very big spaces
> between two dates containing intraday prices plotted by plot.xts. It looks
> like the following: on the left side of the plot window is the first bunch
> of points, the same is for the right hand side and a long line connecting
> them in the middle. I would want to merge them (cut spaces) somehow.
>
> In any case thanks for help.
>
> Alex
>
--
View this message in context: http://www.nabble.com/xts-dates-spacings-tp25721103p25725969.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list