
Correlation of categorical items with categorical items
Source:R/tables.R
tab_counts_items_grouped_items.RdCorrelation of categorical items with categorical items
Usage
tab_counts_items_grouped_items(
data,
cols,
cross,
method = "cramer",
category = NULL,
labels = TRUE,
clean = TRUE,
...
)Arguments
- data
A tibble containing item measures.
- cols
Tidyselect item variables (e.g. starts_with...).
- cross
Tidyselect item variables (e.g. starts_with...).
- method
The method of correlation calculation:
cramerfor Cramer's V,npmifor Normalized Pointwise Mutual Information. Not implemented yet.
- 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 plot_counts.