# NOT RUN {
# }
# NOT RUN {
require(compareGroups)
data(regicor)
# example on an ordinary table
res <- createTable(compareGroups(year ~ . -id, regicor), hide = c(sex=1), hide.no = 'no')
export2word(res, file = "table.docx")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab