likert.histogram.plot: Histogram of number of responses.

Description Usage Arguments

Description

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.

Usage

1
2
3
4
5
6
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, ...)

Arguments

l

results of likert.

xlab

label used for the x-axis.

plot.missing

if TRUE, missing values will be plotted to the left of the x-axis.

bar.color

the bar color.

missing.bar.color

the color of the bar for missing values.

label.completed

the label to use in the legend representing the count of complete values.

label.missing

the label to use in the legend representing the count of missing values.

legend.position

location of the legend.

wrap

number of characters before warping the text in the panel strips.

order

the order of the items.

group.order

the order in which groups (for grouped items) or items (for non-grouped items) should be plotted.

panel.arrange

v for vertical or h for horizontal.

panel.strip.color

the color for panels.

text.size

text size.

...

other ggplot2 parameters.


likert documentation built on May 2, 2019, 11:11 a.m.