Learn R Programming

volker (version 3.2.0)

tab_counts_items_grouped_items: Correlation of categorical items with categorical items

Description

Correlation of categorical items with categorical items

Usage

tab_counts_items_grouped_items(
  data,
  cols,
  cross,
  method = "cramer",
  category = NULL,
  labels = TRUE,
  clean = TRUE,
  ...
)

Value

A volker tibble.

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:

  • cramer for Cramer's V,

  • npmi for 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.