s-news
[Top] [All Lists]

Using timeSeries

To: S-news <s-news@lists.biostat.wustl.edu>
Subject: Using timeSeries
From: "Walter R. Paczkowski" <dataanalytics@earthlink.net>
Date: Mon, 20 Dec 2004 08:13:09 -0600
Domainkey-signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=aT8GVJS5/98w4ZORthNWYqSEAZ6suX5bpbMJgI0aUeaqBoURYt+LAW+Yn1HrWSQr;
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (nscd2)
Good morning,

I have two questions about timeSeries in S-Plus 6.2 for Windows. I created a timeSeries of the S&P 500 monthly close from 1/1950 to 11/2004.

First questions: how do I add the S&P 500 monthly close number to this series when it becomes available? I tried a simple concatenate using c() but this doesn't work.

Second question: how do I add a vertical line to a plot using plot.timeSeries so I can show a business cycle reference date? I tried abline(v = "1/1/1992") but this doesn't work. Adding a horizontal line using abline(h = 200) works just fine, but I need the vertical line.

Thanks for any help.

Walt Paczkowski



<Prev in Thread] Current Thread [Next in Thread>
  • Using timeSeries, Walter R. Paczkowski <=