Dear Team, 

I need to replicate the below Pearson test in R as i have done in SAS. 

Basically this is a survey data where there are 4 rating and then i have a final rating which is the major one on which we are rated hence i need to check a correlation test as below in R.

Proc corr data=myData Pearson;

var rating1-rating4;

with ratingFinal;

run;

Please suggest?

Similar questions and discussions