Plots a histogram of the number of responses for each item and group (if specified). Negative values (in maroon by default) indicate the number of missing values for that item and group.
likert.histogram.plot(
l,
xlab = "n",
plot.missing = TRUE,
bar.color = "grey70",
missing.bar.color = "maroon",
label.completed = "Completed",
label.missing = "Missing",
legend.position = "bottom",
wrap = ifelse(is.null(l$grouping), 50, 100),
order,
group.order,
panel.arrange = "v",
panel.strip.color = "#F0F0F0",
text.size = 2.5,
...
)
results of likert
.
label used for the x-axis.
if TRUE, missing values will be plotted to the left of the x-axis.
the bar color.
the color of the bar for missing values.
the label to use in the legend representing the count of complete values.
the label to use in the legend representing the count of missing values.
location of the legend.
number of characters before warping the text in the panel strips.
the order of the items.
the order in which groups (for grouped items) or items (for non-grouped items) should be plotted.
v for vertical or h for horizontal.
the color for panels.
text size.
other ggplot2 parameters.