Function for making Cross Tables.
crosstable( data, vars, group, sty = "nejm", excl = TRUE, cont = "mean", pcat = "chisq" )
| data | The data as a data frame. |
|---|---|
| vars | variable in the rows |
| group | variable in the column |
| sty | . |
| excl | . |
| cont | . |
| pcat | . |
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 }