On 25/07/2008, at 9:58 AM, Edna Bell wrote:
Hello.
When I type in "median", I get the following:
median
function (x, na.rm = FALSE)
UseMethod("median")
<environment: namespace:stats>
How do I look at the code, please?
It seems that median() is ``generic'' (although with only one --- the
default --- ``method''.
Typing ``methods(median)'' shows this.
Typing ``median.default'' shows you the code for this default
``method''.
cheers,
Rolf Turner
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
______________________________________________
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.