R/helpers.R
assert_weights.Rd
A short wrapper for testing if weights data frame and variable are correct.
assert_weights(weights_df, weights_var)
Data frame containing id and weight. If not provided, the weights will be set to 1.
Character name of column storing weights.