| To: | <s-news@wubios.wustl.edu> |
|---|---|
| Subject: | FW: Finding which method is used by a function |
| From: | "Cahill, Shane" <Shane.Cahill@ILIM.COM> |
| Date: | Tue, 19 Aug 2008 14:12:22 +0100 |
| Thread-index: | Acj+G0dPt0eitF2wSZO0QUogQGuzEAD4InBQ |
| Thread-topic: | Finding which method is used by a function |
|
Thanks to Chris Green and Chuck Taylor for responding to my question. Their answers are posted below. Shane Shane,
Christopher G. Green (cggreen AT stat.washington.edu)
Shane,
> showMethods("summary")
The “timeSeries” class doesn’t appear there, so let’s see whether timeSeries inherits from one of the classes that does appear: > extends("timeSeries")
We see that “timeSeries” inherits from “seriesVirtual”, so it is the “seriesVirtual” method of summary that gets dispatched. To see what that method looks like, you can run showMethod("summary", "seriesVirtual") To confirm that you have the right method, look at the output of selectMethod(“summary”, “timeSeries”) Best regards, Chuck Taylor
______________________________________________
Hi,
I use S-PLUS 8.0 for Windows. Kind regards, ********************************************************************************** Irish Life Investment Managers Limited is authorised by the Financial Regulator. Irish Life Investment Managers Limited Registered Office: Beresford Court, Beresford Place, Dublin 1. Registered in Ireland Number 116000
While Irish Life Investment Managers uses reasonable efforts to ensure that the information contained in this email is current, accurate and complete at the date of publication, no representations or warranties are made (express or implied) as to the reliability, accuracy or completeness of such information. Irish Life Investment Managers therefore cannot be held liable for any loss arising directly or indirectly from the use of, or any action taken in reliance on, any information contained in this email.
This material is for information only and does not constitute an offer or recommendation to buy or sell any investment, or subscribe to any investment management or advisory service. It is intended for the use of institutional and other professional investors. Past performance is not indicative of future results. The value of funds we manage may fall as well as rise.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. **********************************************************************************
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Bizzare behaviour of traceback, Glenn Treacy |
|---|---|
| Next by Date: | Re: Bootstrapping Newbie question, Donald Catanzaro, PhD |
| Previous by Thread: | Finding which method is used by a function, Cahill, Shane |
| Next by Thread: | Bizzare behaviour of traceback, Glenn Treacy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |