I'm running an imputation in mice and something strange is happening with the complete function.
If I display the results using $imp from my object for a specific variable these are my results:
head(mice.train$imp$ViolentCrimesPerPop)
Now I run:
complete.train<-mice::complete(mice.train,1)
which should fill in the missing values in my data using the results from the first imputation
but when I check the first index listed in imp for example,
> complete.train$ViolentCrimesPerPop[1349]
[1] 366.34
Its not 113.81 like in my imp table.