| sframe_plot_likert_scale | R Documentation |
Several separate Likert items that make up one sf_scale() (unlike a
"matrix" item's rows, which are one question) are, by default, each
reported as their own single-item diverging chart. That scatters a
related batch of items (a satisfaction scale's 2-3 items, say) across
several charts instead of showing them the way a Likert matrix or a
typical multi-item satisfaction grid is reported: one grouped chart, one
diverging bar per item, sharing an x scale and a legend. Applies only
when every item in the scale shares the same choice set; scales that mix
response scales fall back to one chart per item.
sframe_plot_likert_scale(
items,
data,
choice_set,
title,
palette = c("web", "print")
)
items |
A list of |
data |
The response data.frame, with one column per item id. |
choice_set |
The shared choice set object ( |
title |
Chart title, typically the scale's label. |
palette |
One of |
A ggplot2 object, or NULL if no item has response data.
sframe_plot_likert_matrix(), sf_scale()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.