Hi Joe, 

This looks to be a bug in moPrep. Thanks for reporting it. We'll try to get a fix in the next release. 

Cheers,
matt.

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 selected

I'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] TRUE
m.out.with.proxy <- moPrep(africa, trade ~ trade | civlib, error.proportion = 0.1)
Error in `[.data.frame`(mf, , proxyname) : undefined columns selected
exists("m.out.with.proxy")
[1] FALSE


I'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=amelia
More info about Amelia: http://gking.harvard.edu/amelia
Amelia mailing list
Amelia@lists.gking.harvard.edu
https://lists.gking.harvard.edu/mailman/listinfo/amelia