sorry, I edited my question.
In R, you can use the cor ()
function to find the correlation using only Pearson and Spearman correlation between Continuous variables.
Which function should I use to get correlation between categorical variable and categorical variable? and Which function should I use to get correlation between categorical variables and Continuous variable
Thank you in advance.