Function for making Cross Tables.
crosstable(
data,
vars,
group,
sty = "nejm",
excl = TRUE,
cont = "mean",
pcat = "chisq"
)
The data as a data frame.
variable in the rows
variable in the column
.
.
.
.
A results object containing:
results$todo | a html | ||||
results$tablestyle1 | a html | ||||
results$tablestyle2 | a html | ||||
results$tablestyle3 | a html | ||||
results$tablestyle4 | a html |
if (FALSE) {
# example will be added
}