Re: [R] Help with impute.knn

2008-10-30 Thread Yihui Xie
Please read the help page carefully. The value returned by impute.knn() is not a list with the 'data' component but already a matrix (with two attributes)! Regards, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www

[R] Help with impute.knn

2008-10-29 Thread Jianying Li
ear all, This is my first time using this listserv and I am seeking help from the expert. OK, here is my question, I am trying to use impute.knn function in impute library and when I tested the sample code, I got the error as followingt: Here is the sample code: library(impute) data(khanmiss