tab_counts_items | R Documentation |
Output frequencies for multiple variables
tab_counts_items(
data,
cols,
ci = FALSE,
percent = TRUE,
values = c("n", "p"),
labels = TRUE,
clean = TRUE,
...
)
data |
A tibble containing item measures. |
cols |
Tidyselect item variables (e.g. starts_with...). |
ci |
Whether to compute 95% confidence intervals. |
percent |
Set to FALSE to prevent calculating percents from proportions. |
values |
The values to output: n (frequency) or p (percentage) or both (the default). |
labels |
If TRUE (default) extracts labels from the attributes, see codebook. |
clean |
Prepare data by data_clean. |
... |
Placeholder to allow calling the method with unused parameters from tab_counts. |
A volker tibble.
library(volker)
data <- volker::chatgpt
tab_counts_items(data, starts_with("cg_adoption_"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.