tableone | R Documentation |
Function for making Table One.
tableone(data, vars, sty = "t1", excl = TRUE)
data |
The data as a data frame. |
vars |
a string naming the variables from |
sty |
. |
excl |
. |
A results object containing:
results$todo | a html | ||||
results$tablestyle1 | a preformatted | ||||
results$tablestyle2 | a html | ||||
results$tablestyle3 | a html | ||||
results$tablestyle4 | a preformatted | ||||
## Not run:
data('histopathology')
dat <- as.data.frame(histopathology)
ClinicoPath::tableone(
data = dat,
vars = vars(Sex, PreinvasiveComponent, LVI, PNI, Grade, Age),
sty = "t3",
excl = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.