Construct the pairwise heatmap data for likert.heatmap().
This function is called by likert.heatmap() but can be called individually.
Arguments
- data
tibble(ordata.frame) with Likert data converted to integers. Use theconvert.fromto()function to convert text responses to integers. Note: Ensure the integers are positive and non-zero.- QoI
string with the Question of Interest (the rows)
- Qcompared
string with the Question being Compared to (the columns)
- value.range
range of possible Likert values
Value
tibble (or data.frame) containing the needed count, percentage, and
colour hex values to construct a heatmap with percentage values overlaid on
each tile of the heatmap.
Author
Emilio Xavier Esposito emilio.esposito@gmail.com (https://github.com/emilioxavier)