s-news
[Top] [All Lists]

plotting timeseries

To: s-news@wubios.wustl.edu
Subject: plotting timeseries
From: "Ruud H. Koning" <info@rhkoning.com>
Date: Fri, 31 Jan 2003 22:12:31 +0100
Hello, I have created a timeseries object and the dates look like:

wr.men.ts@positions
 [1] 30 Aug 1991 18 Oct 1968 19 Oct 1967 29 May 1965 12 Sep 1964 15 Aug
1964
 [7] 10 Jun 1962 16 Jul 1961 27 May 1961 12 Aug 1960 25 May 1935 27 Oct
1931
[13] 9 Sep 1928  7 Jul 1928  13 Jun 1925 7 Jul 1924  23 Jul 1923 5 Aug 1901


If I want to plot one of the variables in this object, S-Plus complains:

> plot(wr.men.ts[,"distance"])
Problem in timeSequence(from = list(list(11563, 792..: Incompatible values
of from and to 

I don't have any idea what could be the problem here and appreicate any
ideas. Now complaints
when I graph the same variable using seriesPlot()
S-Plus 6.0, W2K, FinMetrics.

Thanks, Ruud


<Prev in Thread] Current Thread [Next in Thread>