# Calibrates and Reweights Units in Samples

## Documentation for package ‘icarus’ version 0.3.2

- DESCRIPTION file.

## Help Pages

addMargin | Adds a margin to marginMatrix
calibration | Calibration on margins
calibrationMarginStats | Stats for initial weights, calibrated weights, and margins.
calWeights_movies | Calibration weights for 'data_employees'
colToDummies | Changes a column containing multiple values to a matrix of columns containing the dummies corresponding to each value.
dataPop | Test population for Icarus.
data_employees | A small example sample for calibration with Icarus
HTmean | Weighted estimator for the mean
HTtotal | Weighted estimator for total
marginStats | Stats for initial weights, calibrated weights, and margins.
newMarginMatrix | Create empty margin matrix
poptest_calmar | Calibration on population test - made on Calmar2
poptest_calmar_nr | Calibration with nonresponse on population test - made on Calmar2
regroupCalibrationModalities | Regroup calibration modalities
regroupModalities | Regroup elements of a vector
table_margins_1 | Margins for calibration of test population
table_margins_2 | Margins for calibration of test population
weightedMean | Weighted estimator for the mean
weightedTotal | Weighted estimator for total