Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 206305

How do I find the top 3 highly correlated variables with another specific variable and depict the answer using sapply and sort using R?

$
0
0

I have a dataframe containing the number of points scored by various individuals in various events. A total column is then added to this dataframe. Now, how do I calculate the top 3 highly correlated variables to the total column and depict this using sapply and sort using R?


Viewing all articles
Browse latest Browse all 206305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>