freqTable {webr}R Documentation

Make flextable summarizing frequency

Description

Make flextable summarizing frequency

Usage

freqTable(
  x,
  digits = 1,
  lang = getOption("freqTable.lang", "en"),
  vanilla = FALSE,
  ...
)

Arguments

x

A vector

digits

integer indicating the number of decimal places

lang

Language. choices are one of c("en","kor")

vanilla

Logical. Whether make vanilla table or not

...

Further arguments to paseed to the df2flextable function

Value

An object of clss flextable

Examples

require(moonBook)
freqTable(acs$Dx)
#freqTable(acs$smoking,lang="kor",vanilla=TRUE,fontsize=12)

[Package webr version 0.1.5 Index]