MCQs>Finance & Management>R>Two variable in the mydata data frame are named Var1 and Var2. How do you tell a bivariate function, such as cor.test, which two variables you want to analyze?
R MCQs
Two variable in the mydata data frame are named Var1 and Var2. How do you tell a bivariate function, such as cor.test, which two variables you want to analyze?
Answer
Correct Answer: Cor.test(mydata$Var1,mydata$Var2)
Explanation:
Note: This Question is unanswered, help us to find answer for this one