[R] how to see inbuilt function(cor.test) & how to get p-value from t-value(test of significance) ?
sagarnikam123
sagarnikam123 at gmail.com
Wed Mar 7 07:36:27 CET 2012
i can see source code of function
> cor
function (x, y = NULL, use = "everything", method = c("pearson",
"kendall", "spearman"))
{
na.method <- pmatch(use, c("all.obs", "complete.obs",
"pairwise.complete.obs",
"everything", "na.or.complete"))
-------------------------------------------------------------------------------------------------------------------------------------
but for cor.test,i gives
> cor.test
function (x, ...)
UseMethod("cor.test")
<bytecode: 0x05a5bff8>
<environment: namespace:stats>
-------------------------------------------------------------------------------------------------------------------------------------
i want p-value calculation formula also,i have t-values(test of
significance)
--
View this message in context: http://r.789695.n4.nabble.com/how-to-see-inbuilt-function-cor-test-how-to-get-p-value-from-t-value-test-of-significance-tp4452454p4452454.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list