get the estimated effects for a designated exposure variable from a set of statistical models fitted using apriori specs.
1 2 | hoist_effect(data, effect, ci = NULL, transform = NULL,
reference_label = "1 (reference)")
|
data |
a dataset with containing a list of models |
effect |
(character or literal) the effect to hoist |
ci |
a numeric value between 0 and 1 indicating desired confidence level for interval estimates. If left unspecified, confidence intervals will not be included in the output. |
models |
a column in dataset containing a list of models |
fun |
a function that will be applied to the model's estimated regression coefficients. For example, it is common to exponentiate regression coefficients from logistic and proportional hazards models to present odds and hazard ratios, respectively. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.