powered by
Visualize the PPS & correlation matrices
visualize_both( df, color_value_positive = "#08306B", color_value_negative = "#8b0000", color_text = "#FFFFFF", include_missings = TRUE, nrow = 1, ... )
a grob object, a grid with two ggplot2 heatmap visualizations
data.frame containing columns for x and y
color used for upper limit of gradient (high positive correlation)
color used for lower limit of gradient (high negative correlation)
string, hex value or color name used for text, best to pick high contrast with color_value_high
color_value_high
bool, whether to include the variables without correlation values in the plot
numeric, number of rows, either 1 or 2
any arguments passed to score
score
visualize_both(iris) visualize_both(mtcars, do_parallel = TRUE, n_cores = 2)
Run the code above in your browser using DataLab