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

Rui Barradas ruipbarradas at sapo.pt
Wed Mar 20 20:34:17 CET 2013


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 r...{{dropped:5}}
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list