Calibrate sample weights
Construct a matrix of binary variables for calibration of sample weights according to known marginal population totals. The following methods are implemented:
calibVars.default(x)
calibVars.matrix(x)
calibVars.matrix(x)
calibVars.data.frame(x)
1  calibVars(x)

x 
a vector that can be interpreted as factor, or a matrix or

A matrix of binary variables that indicate membership to the corresponding factor levels.
Bernhard Meindl and Andreas Alfons
1 2 3 4 5 6 7 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.