Skip to content

How to look at the source code for predict()

9 messages · Yuan, Rebecca, R. Michael Weylandt, Duncan Murdoch +1 more

#
getS3method("predict", "arima")

Cheers,
MW

On Wed, Mar 20, 2013 at 6:43 PM, Yuan, Rebecca
<rebecca.yuan at bankofamerica.com> wrote:
#
On Wed, Mar 20, 2013 at 6:49 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote:
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
#
On 20/03/2013 2:43 PM, Yuan, Rebecca wrote:
The information in the article by Uwe Ligges in this issue of R News:

http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf

is still valid.

Duncan Murdoch

P.S.  I got that link from the R help system.  Start HTML help, look at 
the "Technical Papers" link, and you'll find all sorts of good stuff.
#
Hello MW,

Thanks very much!

I use
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:
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}}
#
Hello Duncan,

Thanks for this link!

A very good article that has useful information!

Best,

Rebecca


-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: Wednesday, March 20, 2013 2:53 PM
To: Yuan, Rebecca
Cc: 'R help'
Subject: Re: [R] How to look at the source code for predict()
On 20/03/2013 2:43 PM, Yuan, Rebecca wrote:
The information in the article by Uwe Ligges in this issue of R News:

http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf

is still valid.

Duncan Murdoch

P.S.  I got that link from the R help system.  Start HTML help, look at the "Technical Papers" link, and you'll find all sorts of good stuff.
#
Hello,

In the case of predict.Arima, you can type at an R prompt the following.

stats:::predict.Arima


Hope this helps,

Rui Barradas

Em 20-03-2013 18:43, Yuan, Rebecca escreveu:
#
Hello Rui,

This also works!

Thanks so much!

Cheers,

Rebecca

-----Original Message-----
From: Rui Barradas [mailto:ruipbarradas at sapo.pt] 
Sent: Wednesday, March 20, 2013 3:34 PM
To: Yuan, Rebecca
Cc: 'R help'
Subject: Re: [R] How to look at the source code for predict()

Hello,

In the case of predict.Arima, you can type at an R prompt the following.

stats:::predict.Arima


Hope this helps,

Rui Barradas

Em 20-03-2013 18:43, Yuan, Rebecca escreveu: