c_table: Title c.table (contingency table)

View source: R/c_table.R

c_tableR Documentation

Title c.table (contingency table)

Description

Title c.table (contingency table)

Usage

c_table(
  df,
  x,
  y,
  col_percent = TRUE,
  row_percent = FALSE,
  show_totals = TRUE,
  chi = TRUE,
  decimals = 2,
  show.compact.table = TRUE,
  debug = FALSE
)

Arguments

df

dataframe to be used

x

variable that will be on the columns

y

variable that will be on the rows

col_percent

T/F show percentage by columns

row_percent

T/F show percentage by rows

show_totals

T/F show totals

chi

T/F perform proportions comparison (chi.square or fisher, as needed)

decimals

number of decimal digits


feranpre/udaicR documentation built on July 15, 2022, 12:54 p.m.