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