if(reimpute==TRUE)
+ {imputations<-amelia(mydata,m=4,
+ idvars=c("imposition","Groups"),
+ ords=c("Ally","US","IO","tcosts","Msenders","Lrsuccess",
+ "Rsucess"))
+ write.amelia(obj=imputations,file.stem="impdata_test",format="csv")
+ imposedcomplete.datasets<-imputations$imputations
+ save(imposedcomplete.datasets,file="Imposedcompletedatasets.csv")
+ }
Amelia Error Code:  44 
 One of the variable names in the options list does not match a variable name in the data. 
Error in is.data.frame(x) : 缺少参数"x",也没有缺省值