ez.table: table xy

View source: R/stats.R

ez.tableR Documentation

table xy

Description

(df, x, y) or (x, y), CrossTable, auto convert/reset factor
ez.table2 input could be one, two, or more varibles/cols

Usage

ez.table(
  df,
  x,
  y = NULL,
  prop.r = TRUE,
  prop.c = TRUE,
  prop.t = TRUE,
  digits = 1,
  max.width = 1,
  expected = FALSE,
  prop.chisq = FALSE,
  chisq = FALSE,
  fisher = FALSE,
  mcnemar = FALSE,
  resid = FALSE,
  sresid = FALSE,
  asresid = FALSE,
  missing.include = FALSE,
  format = "SPSS",
  dnn = NULL,
  ...
)

Examples

# dnn=c('row','col')

jerryzhujian9/ezmisc documentation built on March 9, 2024, 12:44 a.m.