
This function creates directional heatmaps for the associations between continuous and binary variables. It identifies continuous and binary variables in the dataset and computes correlations using appropriate methods.
Source:R/PlotDirectionalHeatmaps.R
PlotDirectionalHeatmaps.Rd
This function creates directional heatmaps for the associations between continuous and binary variables. It identifies continuous and binary variables in the dataset and computes correlations using appropriate methods.
Arguments
- Data
A dataframe containing the data to analyze.
- xVars
A vector of variable names to be used on the x-axis. If NULL, all continuous and binary variables are included.
- yVars
A vector of variable names to be used on the y-axis. If NULL, defaults to the same as xVars.
- Relabel
Logical. If TRUE, variables are relabeled for better readability in the plots.
- Ordinal
Logical. If TRUE, treats binary variables as ordinal for certain calculations (future functionality).