| effect_counts_items_grouped_items | R Documentation |
Effect size and test for comparing multiple variables by multiple grouping variables
effect_counts_items_grouped_items(
data,
cols,
cross,
method = "cramer",
adjust = "fdr",
category = NULL,
labels = TRUE,
clean = TRUE,
...
)
data |
A tibble containing item measures and grouping variable. |
cols |
Tidyselect item variables (e.g. starts_with...). |
cross |
The columns holding groups to compare. |
method |
The output metrics: cramer = Cramer's V, pmi = Pointwise Mutual Information, npmi = Normalized PMI. |
adjust |
Performing multiple significance tests inflates the alpha error.
Thus, p values need to be adjusted according to the number of tests.
Set a method supported by |
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 effect_counts. |
A volker tibble.
library(volker)
data <- volker::chatgpt
effect_counts(
data,
starts_with("cg_adoption_adv"),
starts_with("use_")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.