[R] Correlation matrix removing insignificant R values

mgranlie mads at granlie.dk
Wed Nov 23 13:34:05 CET 2011


Hello.

I have a large dataset with sales pr month for 56 products with 10 months
and i have tried to see how the sales are correlated using 
cor()

This has given me a 56X56 matrix with the R value for each product pair.
Most of these correlations are insignificant, and i want only to retain the
instances were the R value is significant (for 10 observations it should be
above 0.64)

Can someone help with this?

--
View this message in context: http://r.789695.n4.nabble.com/Correlation-matrix-removing-insignificant-R-values-tp4099412p4099412.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list