weightedTotal: Weighted estimator for total
Description
Computes the weighted estimator for the total of a column
Usage
weightedTotal(var, weights)
Arguments
- var
column of variable of interest
- weights
column of weights matching the variable of interest