cor_mixed | R Documentation |
This function allows you to calculate correlation between two variables mixed with continuous and categorical variables. If there are two continuous variables or one continuous and one categorical varialbe, the function returns r squared of the linear regression. If there are two categorical variables, the function returns Cramer's V squared.
cor_mixed(var1, var2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.