[R] Source code

Petr PIKAL petr.pikal at precheza.cz
Thu Mar 15 10:08:43 CET 2012


Hi

> 
> Hi everyone,
> I need to see the source code of  "function"
> Does anybody know how can I  find so.
> Thanks a lot.

What function? 

 mean.default
function (x, trim = 0, na.rm = FALSE, ...) 
{
    if (!is.numeric(x) && !is.complex(x) && !is.logical(x)) {
        warning("argument is not numeric or logical: returning NA")
        return(NA_real_)
    }
    if (na.rm) 
        x <- x[!is.na(x)]........

Regards
Petr



> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Source-code-
> tp4474173p4474173.html
> Sent from the R help mailing list archive at Nabble.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