I have a relatively large correlation matrix (77x77). I need to identify cases with correlations above |.60|. Below I produced the correlation dataframe and made all values < |.60| show as NA.
cor_relation = cor(mydata, use="all.obs", method="pearson")
cor_relation[abs(cor_relation) < 0.6] <- NA
However, it is still difficult to manually search for the cases > |.60|. I tried using Boolean operators, such as below but it only gives me a truncated summary of each case (i.e., Na or True), where I can only see a summary of the first 1000 cases
cor_relation[abs(cor_relation)] >= 0.6
Please, help out with the correct code that will only print a summary of cases with correlations > |.60|
Thank you