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

2013-03-21 Thread Yuan, Rebecca
Hello Rui, This also works! Thanks so much! Cheers, Rebecca -Original Message- From: Rui Barradas [mailto:ruipbarra...@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 t

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

2013-03-20 Thread Rui Barradas
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 all, I thought I found it, it is in the arima.R if I use arima to fit the model. But how could we see the

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

2013-03-20 Thread Yuan, Rebecca
Hello Duncan, Thanks for this link! A very good article that has useful information! Best, Rebecca -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Wednesday, March 20, 2013 2:53 PM To: Yuan, Rebecca Cc: 'R help' Subject: Re: [R] How to l

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

2013-03-20 Thread Yuan, Rebecca
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 wrote: > getS3method("predict", "arima") Pardon -- it's either "Arima" or "arima0" but not "a

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

2013-03-20 Thread R. Michael Weylandt
On Wed, Mar 20, 2013 at 6:49 PM, R. Michael Weylandt 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 __ R-help@r-proj

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

2013-03-20 Thread Duncan Murdoch
On 20/03/2013 2:43 PM, Yuan, Rebecca wrote: Hello all, I thought I found it, it is in the arima.R if I use arima to fit the model. But how could we see the source code of some function in R? The information in the article by Uwe Ligges in this issue of R News: http://cran.r-project.org/doc/R

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

2013-03-20 Thread R. Michael Weylandt
getS3method("predict", "arima") Cheers, MW On Wed, Mar 20, 2013 at 6:43 PM, Yuan, Rebecca wrote: > Hello all, > > I thought I found it, it is in the arima.R if I use arima to fit the model. > > But how could we see the source code of some function in R? > > Thanks, > > Rebecca > > From: Yuan, Re

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

2013-03-20 Thread Yuan, Rebecca
Hello all, I thought I found it, it is in the arima.R if I use arima to fit the model. But how could we see the source code of some function in R? Thanks, Rebecca From: Yuan, Rebecca Sent: Wednesday, March 20, 2013 2:38 PM To: R help Subject: How to look at the source code for predict() Hello

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

2013-03-20 Thread Yuan, Rebecca
Hello, I try to look at the source code of predict() it turns out that I cannot find it. I can see it with debug(library), but not efficient. Can someone help? Thanks, Rebecca -- This message, and any attachments, is for the