Constructs a ggplot2::ggplot2 barplot for Likert and Likert-like results with each option displayed as an individual, horizontal MSU dark-green bars. The percentage of responses are noted on the bar as white text.
This function is called by likert.plot.matrix()
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)
- value.range
range of possible Likert values
Author
Emilio Xavier Esposito emilio.esposito@gmail.com (https://github.com/emilioxavier)