[R] ts() objects in R

About this list Date view Thread view Subject view Author view Attachment view

From: Ko-Kang Kevin Wang (k.wang@auckland.ac.nz)
Date: Tue 04 May 2004 - 22:01:44 EST


Message-id: <002901c431cf$91c89710$6633d882@stat.auckland.ac.nz>

Does anyone know why this is happening?
> diff.prop[1:5]
         1 2 3 4 5
-0.6323988 -0.5226586 -0.5605096 -0.6656347 -0.6011561
> ts(diff.prop, start = c(1997, 11), frequency = 1)
Time Series:
Start = 2007
End = 2125
Frequency = 1
[snip]

diff.prop is a vector, I want to convert it to a time series starting from Nov 1997 on a monthly basis. However when it's created it starts from 2007. It's happening on both R 1.8.1 and R 1.9.0 on Windows XP Pro

Cheers,

Kevin

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST