Construct a matrix of binary variables for calibration of sample weights according to known marginal population totals. The following methods are implemented:
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