Using dplyr to keep values above certain threshold in correlation matrix
I am trying to keep all correlations in my correlation matrix that are above 0.7 or below -0.7. When I try using the filter_all function within dyplr, I’m always left with a data frame with 0 obs. Here is an example with a very small subset of my data. My actual data has over 40 rows & columns.