[Rd] Timeseries - window - extend problem (PR#13272)
patrickbolliger at gmx.ch
patrickbolliger at gmx.ch
Mon Nov 10 11:50:06 CET 2008
Full_Name: Patrick Bolliger
Version: R 2.8.0
OS: Windows XP
Submission from: (NULL) (165.222.185.132)
I cannot understand the behaviour of the following snippet... I guess it has to
do with the representation of the floating number .66666
-----------------------------------------------------------------------------------
CODE-SNIPPET:
=============
MTH <- 10
window(ts(1:290,start=c(1984,MTH),freq=12),start=c(2008,9),end=c(2008,9),extend=T)
MTH <- 9
window(ts(1:290,start=c(1984,MTH),freq=12),start=c(2008,9),end=c(2008,9),extend=T)
------------------
RESULT:
------------------
> MTH <- 10
> window(ts(1:290,start=c(1984,MTH),freq=12),start=c(2008,9),end=c(2008,9),extend=T)
Fehler in ts(x, xtsp[1], xtsp[2], xtsp[3]) :
'start' kann nicht nach 'end' sein
> MTH <- 9
> window(ts(1:290,start=c(1984,MTH),freq=12),start=c(2008,9),end=c(2008,9),extend=T)
Sep
2008 289
>
More information about the R-devel
mailing list