Calculate a pairwise association between all variables in a data-frame. In particular nominal vs nominal with Chi-square, numeric vs numeric with Pearson correlation, and nominal vs numeric with ANOVA. Adapted from https://stackoverflow.com/a/52557631/590437
Arguments
- df
a data.frame
- cor_method
the method to use, one of
c("pearson", "kendall", "spearman")
; (Default:spearman
)- adjust_cramersv_bias
Use bias corrected Cramer's V as described in
rcompanion::cramerV()
; (Default:TRUE
)