Returns a LaTeX table of the univariate summary
1 2 |
response |
string vector with name of response |
covs |
character vector with the names of columns to fit univariate models to |
data |
dataframe containing data |
type |
string indicating he type of univariate model to fit. The function will try and guess what type you want based on your response. If you want to override this you can manually specify the type. Options in clude "linear", "logistic", "coxph", "crr", "boxcox","logistic" |
strata |
character vector of covariates to stratify by. Only used for coxph and crr |
TeX |
boolean indicating if you want to be able to view extra long tables in the LaTeX pdf. If TeX is T then the table will not convert properly to docx |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.