svy_tableone: Create Description table for survey data

Description Usage Arguments Value

View source: R/svy_tableone.R

Description

Create Description table for survey data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
svy_tableone(
  design,
  strata = NULL,
  cate = NULL,
  cont = NULL,
  wtn = FALSE,
  total = TRUE,
  horizontal = TRUE,
  strata_group = NULL
)

Arguments

design

results of svydesign()

strata

strata

cate

categorical variable

cont

continuous variable

wtn

logical. whether to include weighted estimated column

total

logical. whether to show total part

horizontal

logical. the categorical ratio calculation direction

strata_group

left partial match

Value

one dataframe contains unweighted data and weighted data


yikeshu0611/nhanesR documentation built on Jan. 29, 2022, 6:08 a.m.