haroine / icarus

A package with useful functions for calibration and reweighting in survey sampling
9 stars 5 forks source link

Improve syntax of margin input with lists #8

Open haroine opened 6 years ago

haroine commented 6 years ago

The idea is to change the recommended margin input method to something like:

marginList <- list( "categ" = c(0.35, 0.4, 0.25), "sexe" = c(0.60, 0.40), "service" = c(0.45, 0.55), "salaire" = 470000 )

Thanks to Toby Hocking for the suggestion!