Dear SIr,
In case of looking at the codes of the fuction, cov,
we find all the codings below. But, incase of mean, we don't find
the contents.
Please show me the way to look at all the codings of any functions.
Best regards,
Kei
---
cov
function (x, y = NULL, use =
Someone with more experience could certainly provide a more precise
answer, but basically you came across something called generic functions
in R. This concept allows mean() to be called on various data structures
without extra care.
See
?UseMethod
methods(mean)
getAnywhere(mean.default)
For