EI: A(n R) Program for Ecological Inference