KreateTableOne is a wrapper for
formats the original plain text table as a data.frame of character columns.
This can be printed in an RMarkdown document in a number of ways, e.g., using
svyKreateTabeOne does the same with
1 2 3
The data set to be passed to the
Logical passed to
Other parameters to be passed to
This is a very hacky function. If used within an RMarkdown document,
KreateTableOne should be called in a code chunk with
hide the plain test results printed from
resulting data frame should be saved as an object and used in a second code
chunk for formatted printing. Suggestions for improvement are welcomed.
The function is written to work with
knitr::kable, but should be able
to work with other functions such as
Returns a data frame of character columns.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.