ttabulate: wraps up (align & stack) a set of twoway tables

Description Usage Arguments

View source: R/ttabulate.R

Description

wraps up (align & stack) a set of twoway tables

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
ttabulate(
  data,
  xs,
  treat,
  weight = NULL,
  num = NA,
  cat = NA,
  bin = NA,
  dichotomize = NA,
  dates = NA,
  cens = 5,
  show.na = F,
  na.count = F,
  test = "auto",
  shapiro.p = 1e-04
)

Arguments

data

data frame

xs

list of variables that should be summarized

treat

character variable indicating treatment/comparison groups

num

dichotomize vector with names of those categorical variables in xs that should be dichotomized before summarizing

cat

character vector with names of those variables in xs that are to be summarized as categorical variables

bin

character vector with names of those variables in xs that are to be summarized as binary variables


socioskop/ttools documentation built on Jan. 29, 2022, 3:08 a.m.