This is an implementation of the S3 plot generic function. Based upon the
type
parameter this function will call either likert.bar.plot
,
likert.heat.plot
, or likert.density.plot
. See the
help pages for those functions for all the available parameters to customize
the aesthetics of the figure. Although those functions can be plotted directly,
we recommend call the generic plot
function.
the likert items to plot
the type of plot to create. Current values are bar and heat.
if TRUE, a histogram of count of responses is also plotted.
if include.histogram=TRUE
, this vector of length two
specifies the ratio of the left and right panels.
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)
the background color for panel labels.
the position for the legend ("left", "right", "bottom", "top", or two-element numeric vector).
the order in which groups (for grouped items) or items (for non-grouped items) should be plotted.
define background of the plot. See theme
.
other parameters passed passed to likert.bar.plot
or
likert.heat.plot
.