| sframe_likert_scale_groups | R Documentation |
Identifies which of an instrument's scales are eligible for one grouped
diverging chart across their member items (sframe_plot_likert_scale()),
the same way a "matrix" question's rows are grouped
(sframe_plot_likert_matrix()): every member item is "likert" type and
all share one choice set. Scales that mix response scales, that resolve
to fewer than 2 qualifying items, or whose choice set cannot be found are
left out and fall back to one chart per item in the report's Response
distributions section.
sframe_likert_scale_groups(instrument)
instrument |
An |
A named list, one entry per eligible scale (named by scale id),
each a list with scale_id, title (the scale's label), items (the
member item objects, in scale order), and choice_set (the shared
choice set object). Empty list if no scale qualifies.
sframe_plot_likert_scale(), sf_scale()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.