Dear all, I want to see the source codes for "dchisq(x, df, ncp=0, log = FALSE)", but cannot find it. I input "dchisq" in the R interface, and then enter, the following message return: > dchisq /*****************************************************/ function (x, df, ncp = 0, log = FALSE) { if (missing(ncp)) .Internal(dchisq(x, df, log)) else .Internal(dnchisq(x, df, ncp, log)) } <environment: namespace:stats> /*****************************************************/ It seems that dchisq() is the internal function in STATS package. So go to "C:\Program Files\R\R-2.7.2\library\stats" to look for it. I browsed the files in this catalog, but it seems that i missed it. Anybody can tell me how and where to find the codes, Thanks a lot.
[[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.