Description Usage Arguments Value
View source: R/kable_function.R
A convenient method to add kable into a RMarkdown document
1 2 3 4 5 6 7 8 |
data_frame |
a data.frame, containing the data to add |
caption |
a character vector of length one, containing the caption of the table |
all_before |
a boolean vector of length one, indicatig if all column must be before strata column. Default to FALSE |
var.width |
a numeric vector of length one, containing the witdh of the variable column |
varColumn.size |
a character string telling how wide the variable column needs to be, e.g. "10cm", "3in" or "30em". |
analysisColumn.size |
a character string telling how wide the analysis column(s) needs to be, e.g. "10cm", "3in" or "30em". |
a knitr::kable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.