[R] finding the code underneath a generic function
R. Michael Weylandt
michael.weylandt at gmail.com
Fri Oct 14 03:31:26 CEST 2011
A more detailed description is available in Circle 7 of the R Inferno
(among other places), but the short answer is you type methods(plot)
to see all the different plot functions and then just type the name of
the specific method to get the code. If you know which method you are
going for, you can usually call it directly: e.g., plot.ecdf
Michael
On Thu, Oct 13, 2011 at 9:26 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> Dear R People:
>
> How do you find the code underneath a generic function, please?
>
> Sorry for the dumb question.
>
> Thanks,
> Sincerely,
> Erin
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
>
> ______________________________________________
> 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