[R] How to look at the source code for predict()

Yuan, Rebecca rebecca.yuan at bankofamerica.com
Wed Mar 20 19:54:44 CET 2013


Hello MW,

Thanks very much!

I use 

> getS3method("predict","arima0")

And be able to see the source code. 

Have a great day!

Cheers,

Rebecca

-----Original Message-----
From: R. Michael Weylandt [mailto:michael.weylandt at gmail.com] 
Sent: Wednesday, March 20, 2013 2:52 PM
To: Yuan, Rebecca
Cc: R help
Subject: Re: [R] How to look at the source code for predict()

On Wed, Mar 20, 2013 at 6:49 PM, R. Michael Weylandt <michael.weylandt at gmail.com> wrote:
> getS3method("predict", "arima")

Pardon -- it's either "Arima" or "arima0" but not "arima" in this case.

But, in general, getS3method is what you're looking for.

Cheers,
MW

----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:2}}



More information about the R-help mailing list