Recalculate final weights given the replicate weights
Usage
recalc_final_weights(data, w_cols, replicate_weight = 1, reorder = TRUE)
Arguments
- data
dataset
- w_cols
columns containing the weights
- replicate_weight
scalar with the replicate weights
- reorder
if TRUE, reorders the dataset so that the replicate
weights appear before the final weights
Value
input data with recalculated final weights, incorporating the
replicate weights