powered by
Explore the correlation between two variables
explore_cor( data, x, y, target, bins = 8, min_val = NA, max_val = NA, auto_scale = TRUE, title = NA, color = c("#ADD8E6", "#7BB8DA"), ... )
Plot
A dataset
Variable on x axis
Variable on y axis
Target variable (categorical)
Number of bins
All values < min_val are converted to min_val
All values > max_val are converted to max_val
Use 0.2 and 0.98 quantile for min_val and max_val (if min_val and max_val are not defined)
Title of the plot
Color of the plot
Further arguments
explore_cor(iris, x = Sepal.Length, y = Sepal.Width)
Run the code above in your browser using DataLab