you can see the different methods of mean by: methods(mean) Then you can type mean.default and you will see the complete code.
Bart Alphonse Monkamg wrote: > > > > > > Dear ALL, > > Does anyone know how to get the complete code program for any build-in > function > in R, e.g. when I tape mean in the R-console, I get the following: > > Â mean > > function (x, ...) > > UseMethod("mean") > > <environment: namespace:base> > > but I need the full mean function. > > > > Thank in advance, > > > > Alphonse. > > > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@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. > > -- View this message in context: http://www.nabble.com/function-in-R-tp19777553p19777674.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.