add_weights.Rd
Add weights to a data frame for weighted estimates
add_weights(weightedEstimates, weightProfiles, weightProfileNames)
weightedEstimates | A `weightedEstimates` data frame as returned by [mdmcda::build_weighted_estimate_df()]. |
---|---|
weightProfiles | The weight profiles object |
weightProfileNames | The name(s) of the weight profile(s) to add weights for. |
The `weightedEstimates` object with added weights.