... And why did you not do a web search on "correlation coefficient in R", which would have led you almost imediately to ?cor and friends?
-- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Jan 31, 2017 at 1:34 PM, Elham - via R-help <r-help@r-project.org> wrote: > hello everybody,I have a very very huge table in R from calculating > correlation,how can I filter it per spearman correlation and p-value before > export it,I mean what is the function that I use?I want to select the pairs > for value (r), , greater than 0.9 (directly correlated) and less than -0.9 > (inversely corerlated), and a p-value < 0.001 > > > I should say that I transformed the big matrix in a table by library(reshape). > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.