crosstable | R Documentation |
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 | ||||
## Not run:
# example will be added
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.