Description Usage Arguments Details Examples
Takes a model fit and returns a data frame with variable, estimate, CI, and N
1 2 | sandwich_ci(fit, antilog = FALSE, data, vnames = "names",
outcome = NULL, exposure = NULL)
|
fit |
model object |
antilog |
boolean, set to 'FALSE' for log scale or 'TRUE' for antilog scale |
data |
dataframe or datatable |
vnames |
character, set to '"labels"' to use variable labels rather than variable names in the output |
outcome |
character, outcome variable name |
exposure |
character, exposure variable name |
Returns a dataframe with variable, estimate, and CI information from model fit
1 2 3 | # Not run:
# sandwich_ci(mod_obj, antilog = T, data = df, vnames = "labels")
# sandwich_ci(mod_obj, antilog = T, data = df, vnames = "labels", outcome = "flg_cmp_postop_ssi", exposure = "initial_approach")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.