Skip to contents

Fisher's test

Usage

wrapper_fishers_test_core(
  data,
  col_var,
  row_var,
  variable_names = NULL,
  caption = NULL,
  margin = 1,
  force_empty_cols = FALSE,
  print_pvalues = TRUE,
  print_OR = TRUE
)

wrapper_fishers_test_core_strat(
  data,
  col_var,
  row_var,
  strat1_var = NULL,
  strat2_var = NULL,
  variable_names = NULL,
  caption = NULL,
  margin = 1,
  force_empty_cols = FALSE,
  print_pvalues = TRUE,
  print_adjpvalues = TRUE,
  print_OR = TRUE
)

Arguments

data

Data frame.

strat1_var

Name of the second stratification variable.