Correlation between multiple variables of a data frame

I have a data.frame of 10 Variables in R. Lets call them var1 var2var10

I want to find correlation of one of var1 with respect to var2var3 … var10

How can we do that?

cor function can find correlation between 2 variables at a time. By using that I had to write cor function for each Analysis

Leave a Comment

tech