search for: ncorrelation

Displaying 3 results from an estimated 3 matches for "ncorrelation".

Did you mean: correlation
2012 Apr 25
1
recommended way to group function calls in Sweave
...ld the actual calls be used, after the replacement of arguments by their values: 'summary(iris[,1:2])' and 'cor(iris[,1:2])'. Or is the recommended way to use cat()-ed statements: f <- function(d, ind){ cat('Variable summary:\n') print(summary(d[ , ind])) cat('\nCorrelation table:\n') print(cor(d[ , ind])) return(invisible(NULL)) } To obtain such output: > f(iris, 1:2) Variable summary: Sepal.Length Sepal.Width Min. :4.300 Min. :2.000 1st Qu.:5.100 1st Qu.:2.800 Median :5.800 Median :3.000 Mean :5.843 Mean :3.057 3rd Qu.:6.400...
2006 Jul 10
2
A possible too old question on significant test of correlation matrix
Dear all, I'm working on a data.frame named en.data, which has n cases and m columns. I generate the correlation matrix of en.data by > cor(en.data) I find that there is no p-value on each correlation in the correlation matrix. I searched in the R-help mail list and found some related posts, but I didn't find direct way to solve the problem. Someone said to use cor.test() or
1998 May 29
0
aov design questions
...c[1], x$fstatistic[2], x$fstatistic[3]), digits)), "\n") } correl <- x$correlation if (!is.null(correl)) { p <- dim(correl)[2] if (p > 1) { cat("\nCorrelation of Coefficients:\n") correl[!lower.tri(correl)] <- NA print(correl[-1, -NCOL(correl)], digits = digits, na = "") } } cat("\n") invisible(x) } #------...