Learn R Programming

webr (version 0.1.5)

freqTable: 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

Run this code
# NOT RUN {
require(moonBook)
freqTable(acs$Dx)
#freqTable(acs$smoking,lang="kor",vanilla=TRUE,fontsize=12)
# }

Run the code above in your browser using DataLab