freqTable {webr} | R Documentation |
Make flextable summarizing frequency
freqTable(
x,
digits = 1,
lang = getOption("freqTable.lang", "en"),
vanilla = FALSE,
...
)
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 |
An object of clss flextable
require(moonBook)
freqTable(acs$Dx)
#freqTable(acs$smoking,lang="kor",vanilla=TRUE,fontsize=12)