See demo(demo, "eiCompare") for examples on how to use code
References
Gary King (1997). A Solution to the Ecological Inference
Problem. Princeton: Princeton University Press. Lau, Olivia, Ryan Moore, and
Michael Kellerman. eiPack: Ecological Inference and Higher-Dimension Data
Management