add_weights: Add weights to a data frame for weighed estimates

Description Usage Arguments Value

View source: R/add_weights.R

Description

Add weights to a data frame for weighed estimates

Usage

1
add_weights(weighedEstimates, weightProfiles, weightProfileNames)

Arguments

weighedEstimates

A 'weighedEstimates' data frame as returned by [mdmcda::build_weighed_estimate_df()].

weightProfiles

The weight profiles object

weightProfileNames

The name(s) of the weight profile(s) to add weights for.

Value

The 'weighedEstimates' object with added weights.


Matherion/mdmcda documentation built on Dec. 31, 2020, 3:13 p.m.