Hi all, I'm using knn() to estimate the missing values of a matrix and I just want to output the complete matrix resulting from this command. For example m is a matrix with missing values m1<-knn(m,k=10) I want m1 to be a matrix I can work with, that is to say I want to apply mean(m), var(m)...but the format is changed. How do I solve this problem? thanks -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._