powered by
Make a chisquare result table
x2Table( data, x, y, margin = 1, show.percent = TRUE, show.label = TRUE, show.stat = TRUE, vanilla = FALSE, fontsize = 12, ... )
A data.frame
a column name
numeric If 1 row percent, if 2 col percent
logical
logical whether or not make vanilla table
A numeric
Further arguments to be passed to df2flextable()
# NOT RUN { require(moonBook) x2Table(acs,sex,DM) # }
Run the code above in your browser using DataLab