Given a tibble of pairwise correlation get a correlation heatbox.

get_corr_heat_box(pairwise_cor_tbl, var1, var2, value)

Arguments

pairwise_cor_tbl

a tbl containing three columns

  1. column 1) values to show on x-axis.

  2. column 2) values to show on y-axis.

  3. column 2) values denoting correlation between column 1 and column 2.

var1

a column to show on x-axis.

var2

a column to show on y-axis.

value

a column denoting corr values.

Value

an object of ggplot