hoist_effect: get the estimated effects for a designated exposure variable...

Description Usage Arguments

View source: R/fit.R

Description

get the estimated effects for a designated exposure variable from a set of statistical models fitted using apriori specs.

Usage

1
2
hoist_effect(data, effect, ci = NULL, transform = NULL,
  reference_label = "1 (reference)")

Arguments

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.


bcjaeger/rpriori documentation built on Nov. 4, 2019, 6:52 a.m.