Thursday, May 21, 2020

R for MBA's- correlation using R

Correlation using R


Problem 1: 


> x<-c(143,175,156,187,195)
> y<-c(132,191,111,156,175)
> cor(x,y)

Ans: [1] 0.7017061

No comments:

Post a Comment