Skip to contents

Reliability plot: alpha and omega by scale

Usage

sframe_plot_reliability(x, palette = c("web", "print"))

Arguments

x

An sframe_reliability_report object from sframe_reliability_results().

palette

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

Value

A ggplot2 object.

Examples

# \donttest{
if (requireNamespace("ggplot2", quietly = TRUE) &&
    requireNamespace("psych", quietly = TRUE)) {
  demo <- sframe_demo("tourism_services")
  rr <- sframe_reliability_results(demo$responses, demo$instrument, omega = FALSE)
  sframe_plot_reliability(rr)
}
# }