powered by
Output averages for multiple variables compared by a grouping variable
plot_metrics_items_grouped( data, cols, cross, limits = NULL, title = TRUE, labels = TRUE, clean = TRUE, ... )
A ggplot object.
A tibble containing item measures.
Tidyselect item variables (e.g. starts_with...).
The column holding groups to compare.
The scale limits. Set NULL to extract limits from the labels.
If TRUE (default) shows a plot title derived from the column labels. Disable the title with FALSE or provide a custom title as character value.
If TRUE (default) extracts labels from the attributes, see codebook.
Prepare data by data_clean.
Placeholder to allow calling the method with unused parameters from plot_metrics.
library(volker) data <- volker::chatgpt plot_metrics_items_grouped(data, starts_with("cg_adoption_"), sd_gender)
Run the code above in your browser using DataLab