sframe_plot_scale_chart: Scale score distribution chart, ggplot2 equivalent of the...

View source: R/plots.R

sframe_plot_scale_chartR Documentation

Scale score distribution chart, ggplot2 equivalent of the dashboard panel

Description

Same sharing rationale as sframe_plot_item_chart().

Usage

sframe_plot_scale_chart(scores, label, palette = c("web", "print"))

Arguments

scores

Numeric vector of scale scores (already averaged/summed).

label

Character. Scale label, used as the x-axis title.

palette

One of "web" or "print". See sframe_brand().

Value

A ggplot2 object, or NULL if ggplot2 is unavailable or scores is empty.


surveyframe documentation built on July 25, 2026, 1:07 a.m.