Skip to content
Prev 68574 / 398506 Next

Extending time series

I noticed that when one tries to extend a time series (ts) object by a
single period using window() actually two observations (NAs) are
added. See below for an example. Does anyone know the reason for this
behavior and how to avoid it?

Thanks.

FS
Time Series:
Start = 1 
End = 5 
Frequency = 1 
[1]  1  2  3 NA NA