cor_mixed: A correlation between two variables

View source: R/cor_mixed.R

cor_mixedR Documentation

A correlation between two variables

Description

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.

Usage

cor_mixed(var1, var2)

ghowoo/Wu documentation built on June 10, 2022, 3:47 p.m.