Usage
"plot"(x, type = c("bar", "heat", "density"), include.histogram = FALSE, panel.widths = c(3, 1), panel.arrange = "v", panel.strip.color = "#F0F0F0", legend.position = "bottom", group.order, panel.background = element_rect(size = 1, color = "grey70", fill = NA), ...)
Arguments
x
the likert items to plot
type
the type of plot to create. Current values are bar and heat.
include.histogram
if TRUE, a histogram of count of responses is also plotted.
panel.widths
if include.histogram=TRUE
, this vector of length two
specifies the ratio of the left and right panels.
panel.arrange
how panels for grouped likert items should be arrange.
Possible values are v
(vertical, the default), h
(horizontal), and NULL
(auto fill horizontal and vertical)
panel.strip.color
the background color for panel labels.
legend.position
the position for the legend ("left", "right", "bottom",
"top", or two-element numeric vector).
group.order
the order in which groups (for grouped items) or items
(for non-grouped items) should be plotted.
panel.background
define background of the plot. See theme
.