Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you measure correlation in r?



How would you measure correlation in r?..

Answer / Vijay Rana

"To measure correlation in R, use the cor() function. This function calculates the Pearson's correlation coefficient between two vectors or matrices.nnExample:n```Rnx <- c(1, 2, 3, 4, 5)ny <- c(2, 4, 6, 8, 10)ncor(x, y)n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is a factor variable, and why would you use one?

1 Answers  


What is bytecode compilation?

1 Answers  


Compare r and python?

1 Answers  


How to use R from python?

1 Answers  


What are Characteristics of R Hierarchical Clustering?

1 Answers  


Explain different types of atomic vectors in R?

1 Answers  


What is sapply() in r?

1 Answers  


What is reference class?

1 Answers  


Is R is a slow language?

1 Answers  


What is the difference between a bar-chart and a histogram? Where would you use a bar-chart and where would you use a histogram?

1 Answers  


What are R Functions?

1 Answers  


What are the features of r programming?

1 Answers  


Categories