prepare_br_supplied_ci.Rd
Prepare data analysis for binary and continuous outcomes with Supplied interval confidence identifies whether the dataframe is for Benefit or Risk analysis
prepare_br_supplied_ci(df, colname, metric_name, func)
(data.frame
) dataset
either df_benefit
(selected benefit)
or df_risk
(select risk).
(character
) feature to fetch for the analysis
either Mean
, Prop
, Rate
(character
) metric for which we must fetch the
confidence interval if supplied (taken from the effect table)
either Diff
, RelRisk
, OddsRatio
, Diff_Rates
(function
) function used to calculate metrics (or BR points)
data frame for specified type of analysis
DETAILS