Output several univariate models nicely. The default output is a kable table for use in pdfs or html, but pander tables can be produced for Word documents by specifying options('doc_type'='doc') in the setup chunk of the markdown document.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
response |
string vector with name of response |
covs |
character vector with the names of columns to fit univariate models to |
data |
dataframe containing data |
adj_cov |
character vector containing covariates to adjust for in each (no longer univariate) model |
caption |
table caption |
showP |
boolean indicating if p-values should be shown (may only want to show holm-corrected values) |
showN |
boolean indicating if sample sizes should be shown |
tableOnly |
boolean indicating if unformatted table should be returned |
removeInf |
boolean indicating if infinite estimates should be removed from the table |
HolmGlobalp |
boolean indicting if a Holm-corrected p-value should be presented |
chunk_label |
only used if options("doc_type"='doc') is set allow cross-referencing |
... |
other variables passed to uvsum and the table output functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.