| sframe_plot_descriptives | R Documentation |
One violin per variable in a descriptives_report() table, built from
the underlying response data rather than from the summary skewness and
kurtosis numbers, so the reader sees the actual shape (asymmetry,
multimodality, tails) instead of reading it off a bar height. Each
variable is standardised (z-scored) before plotting so variables on
different original scales (a 5-point Likert item next to a 0-100 slider)
share one comparable y-axis; standardising is a linear transform and does
not change skewness. Each violin's subtitle-free panel keeps the
variable's skewness value in its axis label. Grouped descriptives_report()
output (one row per variable per split_by group) is faceted by group.
sframe_plot_descriptives(x, data, palette = c("web", "print"))
x |
An |
data |
The same data.frame passed to |
palette |
One of |
A ggplot2 object, or NULL if none of the report's variables have
enough data to draw.
descriptives_report()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.