I am trying to add a column in an imputed dataset (I used mice). I managed to transform the imputed dataset in a dataframe, add the column that comes from anoth
Last year I used info from this question to build a custom function to impute missing data under a simple logical constraint using MICE in R. The following code
Here is my sample code: library(haven) community_surveys <- read_sav("community_surveys.sav") diss_data <- as.data.frame(community_surveys) diss_data$F