kableone_nonnorm | R Documentation |
Knit tableone with nonnormal values
kableone_nonnorm(x, nonnormal, ...)
x |
Tableone object |
nonnormal |
Vector containing nonnormal values for which median is wanted. |
... |
Further arguments passed to knitr::kable() |
Knitted version of a tableone object.
library(tableone) vars <- c("mpg", "cyl", "disp", "hp", "drat", "wt") nonnormal <- c("mpg", "disp", "hp", "drat") t1 <- tableone::CreateTableOne(vars, data = mtcars) kableone_nonnorm(t1, nonnormal = nonnormal)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.