x2Table {webr} | R Documentation |
Make a chisquare result table
Description
Make a chisquare result table
Usage
x2Table(
data,
x,
y,
margin = 1,
show.percent = TRUE,
show.label = TRUE,
show.stat = TRUE,
vanilla = FALSE,
fontsize = 12,
...
)
Arguments
data |
A data.frame |
x |
a column name |
y |
a column name |
margin |
numeric If 1 row percent, if 2 col percent |
show.percent |
logical |
show.label |
logical |
show.stat |
logical |
vanilla |
logical whether or not make vanilla table |
fontsize |
A numeric |
... |
Further arguments to be passed to df2flextable() |
Examples
require(moonBook)
x2Table(acs,sex,DM)
[Package webr version 0.1.5 Index]