| sframe_plot_variable_distribution | R Documentation |
Unlike sframe_plot_descriptives(), which summarises skewness and
kurtosis across the variables in a descriptives_report() table, this
operates on one variable's raw values directly (the report table only
stores summary statistics, not the underlying vector), matching the
pattern sframe_plot_correlation_matrix() already uses for
report-independent, data-driven plots.
sframe_plot_variable_distribution(data, variable, palette = c("web", "print"))
data |
A data frame of survey responses. |
variable |
Character. Column name of the variable to plot. |
palette |
One of |
A named list of three ggplot2 objects (histogram, boxplot,
qq), or NULL if fewer than two complete values remain.
descriptives_report(), sframe_plot_descriptives()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.