On Sunday, April 22, 2012 at 5:48 PM, J. Dieleman wrote:
Hello,I'm getting the following error when I try to use moPrep with a proxy:Error in `[.data.frame`(mf, , proxyname) : undefined columns selectedI've never used moPrep successfully with a proxy, nor could I find any example code that uses a proxy, so there is a really good chance I'm just specifying something wrong. Here is an example using the africa data provided with the package. moPrep works well without a proxy, but with "civlib" specified as a proxy, specified as it seems most natural to me, the command fails.data(africa)m.out <- moPrep(africa, trade ~ trade, error.proportion = 0.1)exists("m.out")[1] TRUEm.out.with.proxy <- moPrep(africa, trade ~ trade | civlib, error.proportion = 0.1)Error in `[.data.frame`(mf, , proxyname) : undefined columns selectedexists("m.out.with.proxy")[1] FALSEI'm using Amelia 1.6.1 on R 2.15.0, platform: x86_64-pc-mingw32/x64 (64-bit).Any help or pointers is appreciated.Thanks so much,Joe Dieleman--Amelia mailing list served by HUIT[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=ameliaMore info about Amelia: http://gking.harvard.edu/ameliaAmelia mailing list