title: To find no.of columns in a data set with correlation more than certain percentage in R
body: <p>I am working on a data set with 48 variables and by seeing the correlation plot in R, most of the variables are highly correlated. I am trying to find the number of variables that are correlated > 70%</p>
  
  <p>My data frame is called <code>diagnosed_data</code> and the code I use is:</p>
  
  <pre><code>cor_data &lt;- cor(diagnosed_data) 
  corrplot::corrplot(cor_data, method = "number", 
                     title = "correlation plot b/w the attributes")
  </code></pre>
  
  <p>From this plot I can figure out visually how many variables have high correlation, but I would like to find this using code instead.</p>
  
  <p>How can I find those variables? Any help would me much appreciated. Thanks!</p>