render.strat | R Documentation |
Called from table1
to render the strata labels for display in
the table. This is the default function, but it can be overriden by a
user-supplied function.
render.strat(strata, ..., transpose = F)
strata |
A named |
... |
Additional arguments. |
transpose |
Logical indicating whether on not the table is transposed. |
A character
, which may contain HTML markup.
dat <- expand.grid(id=1:10, sex=c("Male", "Female"), treat=c("Treated", "Placebo"))
strata <- split(dat, dat$treat)
render.strat(strata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.