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

Describe regex() in r string manipulation?

1 Answers  


What is TCP/IP in R?

1 Answers  


In r how missing values are represented?

1 Answers  


Explain how to manipulate list elements in r?

1 Answers  


I have a string “contact@dataflair.com”. Which string function can be used to split the string into two different strings “contact@dataflair” and “com”?

1 Answers  


What is power analysis ?

1 Answers  


How to create the s3 class?

1 Answers  


What is R Base package?

1 Answers  


How many tools for debugging present in r?

1 Answers  


What is principal component analysis and how can you create a pca model in r?

1 Answers  


What will be the output of log (-5.8) when executed on r console?

1 Answers  


How to call c function from r?

1 Answers  


Categories