Skip to content
Prev 277675 / 398506 Next

return only pairwise correlations greater than given value

What exactly do you mean "returns" them? More generally I suppose,
what do you have in mind to do with this?

You could do something like this:

BigCorrelation <- function(X){

     return(which(abs(cor(X)) > 0.9, arr.ind = T))
}

but it hardly seems worth its own function call.
On Thu, Nov 17, 2011 at 12:42 AM, B77S <bps0002 at auburn.edu> wrote: