powered by
Summarize chisquare result
x2summary( data = NULL, x = NULL, y = NULL, a, b, margin = 1, show.percent = TRUE, show.label = TRUE )
A data.frame
a column name
a vector
numeric If 1 row percent, if 2 col percent
logical
# NOT RUN { require(moonBook) x2summary(acs,sex,DM) # }
Run the code above in your browser using DataLab