rrp is working! Sorry, it was my mistake... fiddling around to find out what the problem is I forgot to re-include the variables which are to be imputed. It seems like this case is not caught but the algorithm finishes with the mentioned error.
Anyway, I am still a little fuzzy about imputation and browsing the web I found no clear recommendations regarding this topic. Which R function would you recommend for imputing categorical variables / factors? Many thanks, Werner > Hi, > > I have a survey dataset of about 20000 observations > where for 2 factor variables I have about 200 > missing > values each. I want to impute these using 10 > possibly > explanatory variables which are a mixture of > integers > and factors. > > Since I was quite intrigued by the concept of rrp I > wanted to use it but it takes ages and terminates > with > an error. First time it stopped complaining about > too > little memory which I increased then from 1.5 to > 2GB. > Now it terminates after a long time with this: > Error in nn[[i]] : subscript out of bounds > > Has anybody encountered this problem before, is it > due > to my data? Could you recommend another package for > such imputation? > I looked at the aregImpute in Hmisc but I don't > really > understand what it is doing. > > Thanks a lot, > Werner Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.