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

Yuan, Rebecca rebecca.yuan at bankofamerica.com
Thu Mar 21 13:55:37 CET 2013


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:
> 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,
>
> 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 intended...{{dropped:12}}



More information about the R-help mailing list