Skip to contents

Perform pairwise chi-square tests with proper handling of contingency tables

Usage

perform_pairwise_chisq(
  data,
  group_var,
  response_var,
  adjust_method = "bonferroni"
)

Arguments

data

Data frame containing the variables

group_var

Name of the grouping variable

response_var

Name of the response variable

adjust_method

Method for p-value adjustment (default: "bonferroni")

Value

List containing summary and detailed results